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(); }