Storm\Core\Object\ICollectionProperty::Discard PHP Метод

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