Skip to content

Latest commit

 

History

History
224 lines (153 loc) · 4.75 KB

File metadata and controls

224 lines (153 loc) · 4.75 KB

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


namespace BumbleDocGen\Core\Parser\Entity;

abstract class BaseEntityCollection implements \IteratorAggregate, \Traversable

Methods:

  1. get
  2. getIterator - Retrieve an external iterator
  3. has
  4. isEmpty
  5. remove

Method details:

public function get(string $objectName): \BumbleDocGen\Core\Parser\Entity\EntityInterface|null;

Parameters:

Name Type Description
$objectName string -

Return value: \BumbleDocGen\Core\Parser\Entity\EntityInterface | null


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

Parameters: not specified

Return value: \Generator

Throws:

See:


public function has(string $objectName): bool;

Parameters:

Name Type Description
$objectName string -

Return value: bool


public function isEmpty(): bool;

Parameters: not specified

Return value: bool


public function remove(string $objectName): void;

Parameters:

Name Type Description
$objectName string -

Return value: void