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

Discard() публичный Метод

Discards an entity's relationships to the supplied unit of work and returns the discardence data.
public Discard ( UnitOfWork $UnitOfWork, object $Entity ) : DiscardenceData
$UnitOfWork UnitOfWork The unit of work to discard from
$Entity object The entity to discard
Результат DiscardenceData The discardence data of the entity
    public function Discard(UnitOfWork $UnitOfWork, $Entity);