PHP Class Nextras\Orm\Mapper\Memory\RelationshipMapperOneHasMany

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

Protected Properties

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

Public Methods

Method Description
__construct ( Nextras\Orm\Mapper\IMapper $targetMapper, 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 ( Nextras\Orm\Mapper\IMapper $targetMapper, PropertyMetadata $metadata )
$targetMapper Nextras\Orm\Mapper\IMapper
$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

$joinStorageKey protected_oe property

protected string $joinStorageKey
return string

$metadata protected_oe property

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