Skip to content

Latest commit

 

History

History
248 lines (169 loc) · 5.85 KB

OperationsCollection.md

File metadata and controls

248 lines (169 loc) · 5.85 KB

BumbleDocGen / Technical description of the project / Class map / OperationsCollection


namespace BumbleDocGen\Core\Parser\Entity\CollectionLogOperation;

final class OperationsCollection implements \IteratorAggregate, \Traversable

Methods:

  1. __serialize
  2. __unserialize
  3. add
  4. getIterator - Retrieve an external iterator
  5. isFoundEntitiesCacheOutdated
  6. removeSearchDuplicates

Method details:

public function __serialize(): array;

Parameters: not specified

Return value: array


public function __unserialize(array $data): void;

Parameters:

Name Type Description
$data array -

Return value: void


public function add(\BumbleDocGen\Core\Parser\Entity\CollectionLogOperation\OperationInterface $operation): void;

Parameters:

Name Type Description
$operation \BumbleDocGen\Core\Parser\Entity\CollectionLogOperation\OperationInterface -

Return value: void


public function getIterator(): \Traversable;
Retrieve an external iterator

Parameters: not specified

Return value: \Traversable

Throws:

See:


public function isFoundEntitiesCacheOutdated(\BumbleDocGen\Core\Parser\Entity\RootEntityCollection $rootEntityCollection): bool;

Parameters:

Name Type Description
$rootEntityCollection \BumbleDocGen\Core\Parser\Entity\RootEntityCollection -

Return value: bool


public function removeSearchDuplicates(): void;

Parameters: not specified

Return value: void