PHP Class Nextras\Orm\Mapper\Memory\RelationshipMapperManyHasOne

Inheritance: extends Nette\Object, implements Nextras\Orm\Mapper\IRelationshipMapper
Mostrar archivo Open project: nextras/orm

Protected Properties

Property Type Description
$metadata Nextras\Orm\Entity\Reflection\PropertyMetadata

Public Methods

Method Description
__construct ( PropertyMetadata $metadata )
getIterator ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection )
getIteratorCount ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection )

Method Details

__construct() public method

public __construct ( PropertyMetadata $metadata )
$metadata Nextras\Orm\Entity\Reflection\PropertyMetadata

getIterator() public method

public getIterator ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection )
$parent Nextras\Orm\Entity\IEntity
$collection Nextras\Orm\Collection\ICollection

getIteratorCount() public method

public getIteratorCount ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection )
$parent Nextras\Orm\Entity\IEntity
$collection Nextras\Orm\Collection\ICollection

Property Details

$metadata protected_oe property

protected PropertyMetadata,Nextras\Orm\Entity\Reflection $metadata
return Nextras\Orm\Entity\Reflection\PropertyMetadata