Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Nextras
Orm
Relationships
HasOne
updateRelationship
Nextras\Orm\Relationships\HasOne::updateRelationship PHP Метод
Документация по классу HasOne
Показать файл
Открыть проект
updateRelationship()
абстрактный
защищенный
Метод
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
Результат
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