src/UnitOfWork/AggregateRootContainer.php
public function saveAggregateRoots()
    {
        foreach ($this->aggregateRoots as $aggregateRootHash => $aggregateRoot) {
            $this->aggregateRootSaveCallbacks[$aggregateRootHash]->save($aggregateRoot);
        }
    }
public function saveAggregateRoots()
    {
        foreach ($this->aggregateRoots as $aggregateRootHash => $aggregateRoot) {
            $this->aggregateRootSaveCallbacks[$aggregateRootHash]->save($aggregateRoot);
        }
    }
public function saveAggregateRoots ( ) { foreach ( $ this -> aggregateRoots as $ aggregateRootHash => $ aggregateRoot ) { $ this -> aggregateRootSaveCallbacks [ $ aggregateRootHash ] -> save ( $ aggregateRoot ) ; } }
Triggers all saving callbacks on all staged aggregates.
Triggers all saving callbacks on all staged aggregates .