public getEntityCount ( Nextras\Orm\Entity\IEntity $parent = null ) | ||
$parent | Nextras\Orm\Entity\IEntity |
public function getEntityCount(IEntity $parent = null)
{
if ($this->relationshipMapper) {
return $this->relationshipMapper->getIteratorCount($parent, $this);
}
return $this->getIteratorCount();
}