Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Nextras
Orm
Relationships
HasOne
setParent
Nextras\Orm\Relationships\HasOne::setParent PHP Method
HasOne Class Documentation
显示文件
Open project: nextras/orm
setParent()
public
method
public
setParent
(
Nextras\Orm\Entity\IEntity
$parent
)
$parent
Nextras\Orm\Entity\IEntity
public function setParent(IEntity $parent) { $this->parent = $parent; }
HasOne
__construct
createCollection
createEntity
getCachedCollection
getEntity
getInjectedValue
getPrimaryValue
getRawValue
getTargetRepository
hasInjectedValue
initReverseRelationship
isChanged
isLoaded
isModified
modify
set
setInjectedValue
setParent
setRawValue
updateRelationship