Phactory\Mongo\Phactory::embedsOne PHP Method

embedsOne() public method

* Create an embeds-one association object for use in define().
public embedsOne ( $collection_name )
$collection_name the singular name of the collection to associate with
    public function embedsOne($collection_name)
    {
        return new Association\EmbedsOne($collection_name);
    }