Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Storm
Core
Object
ICollectionProperty
Discard
Storm\Core\Object\ICollectionProperty::Discard PHP Метод
Документация по интерфейсу ICollectionProperty
Показать файл
Открыть проект
Discard()
публичный
Метод
This method should be implemented such that it returns the nessecary relationship changes and discards all the related entities.
public
Discard
(
UnitOfWork
$UnitOfWork
,
object
$Entity
) :
RelationshipChange[]
$UnitOfWork
UnitOfWork
The unit of work to persist to
$Entity
object
The parent entity
Результат
RelationshipChange[]
public function Discard(UnitOfWork $UnitOfWork, $Entity);
ICollectionProperty
Discard
Persist