PHP Interface Nextras\Orm\Mapper\IRelationshipMapper

Exibir arquivo Open project: nextras/orm Interface Usage Examples

Public Methods

Method Description
getIterator ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection ) : Traversable Returns iterator.
getIteratorCount ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection ) : integer Returns iterator's counts.

Method Details

getIterator() public method

Returns iterator.
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

getIteratorCount() public method

Returns iterator's counts.
public getIteratorCount ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection ) : integer
$parent Nextras\Orm\Entity\IEntity
$collection Nextras\Orm\Collection\ICollection
return integer