Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Phactory
Mongo
Phactory
embedsOne
Phactory\Mongo\Phactory::embedsOne PHP Method
Phactory Class Documentation
Datei anzeigen
Open project: chriskite/phactory
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); }
Phactory
__construct
build
buildWithAssociations
create
createWithAssociations
define
defineBlueprint
embedsMany
embedsOne
get
getAll
getDb
recall
reset
setDb
setInflection