public getIterator ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection ) : Traversable | ||
$parent | Nextras\Orm\Entity\IEntity | |
$collection | Nextras\Orm\Collection\ICollection | |
return | Traversable |
public function getIterator(IEntity $parent, ICollection $collection);
public function getEntityIterator(IEntity $parent = NULL) { if ($this->relationshipMapper) { return $this->relationshipMapper->getIterator($parent, $this); } return $this->collectionMapper->getIterator(); }