Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Nextras
Orm
Relationships
HasOne
updateRelationship
Nextras\Orm\Relationships\HasOne::updateRelationship PHP Method
HasOne Class Documentation
Exibir arquivo
Open project: nextras/orm
updateRelationship()
abstract
protected
method
Updates relationship on the other side.
abstract
protected
updateRelationship
(
Nextras\Orm\Entity\IEntity |
null
$oldEntity
,
Nextras\Orm\Entity\IEntity |
null
$newEntity
,
boolean
$allowNull
) :
void
$oldEntity
Nextras\Orm\Entity\IEntity |
null
$newEntity
Nextras\Orm\Entity\IEntity |
null
$allowNull
boolean
return
void
protected abstract function updateRelationship($oldEntity, $newEntity, $allowNull);
HasOne
__construct
createCollection
createEntity
getCachedCollection
getEntity
getInjectedValue
getPrimaryValue
getRawValue
getTargetRepository
hasInjectedValue
initReverseRelationship
isChanged
isLoaded
isModified
modify
set
setInjectedValue
setParent
setRawValue
updateRelationship