Storm\Core\Object\IEntityMap::Persist PHP Method

Persist() public method

Persists an entity's relationships to the supplied unit of work and returns the persistence data.
public Persist ( UnitOfWork $UnitOfWork, object $Entity ) : PersistenceData
$UnitOfWork UnitOfWork The unit of work to persist to
$Entity object The entity to persist
return PersistenceData The persistence data of the entity
    public function Persist(UnitOfWork $UnitOfWork, $Entity);