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

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

Discard an entity relationships to the supplied unit of work and returns the entity's discardence data.
final public Discard ( UnitOfWork $UnitOfWork, object $Entity ) : DiscardenceData
$UnitOfWork UnitOfWork The unit of work to discard to
$Entity object The entity to discard
Результат DiscardenceData The discardence data of the entity
    public final function Discard(UnitOfWork $UnitOfWork, $Entity)
    {
        return $this->VerifyEntity(__METHOD__, $Entity)->Discard($UnitOfWork, $Entity);
    }