PersistentIterator.php
20 * to restore its state use the static PersistentIterator::load() method, which returns the loaded instance.
69 $state = ['end' => $this->end, 'oidList' => $this->oidList, 'processedOidList' => $this->processedOidList,
70 'currentOID' => $this->currentOid, 'currentDepth' => $this->currentDepth, 'aggregationKinds' => $this->aggregationKinds];
Session is the interface for session implementations and defines access to session variables.
Definition: Session.php:19
__construct($id, PersistenceFacade $persistenceFacade, Session $session, ObjectId $oid, $aggregationKinds=[])
Constructor.
Definition: PersistentIterator.php:47
PersistentIterator is used to iterate over a tree/list built of persistent objects using a Depth-Firs...
Definition: PersistentIterator.php:24
static reset($id, Session $session)
Reset the iterator with the given id.
Definition: PersistentIterator.php:79
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:28
$processedOidList
Definition: PersistentIterator.php:32
$aggregationKinds
Definition: PersistentIterator.php:36
PersistenceFacade defines the interface for PersistenceFacade implementations.
Definition: PersistenceFacade.php:23
addToQueue($oidList, $depth)
Add object ids to the processing queue.
Definition: PersistentIterator.php:196
static load($id, $persistenceFacade, $session)
Load an iterator state from the session.
Definition: PersistentIterator.php:90