PHP Class Nextras\Orm\Mapper\Memory\RelationshipMapperOneHasMany

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

Protected Properties

Свойство Type Description
$joinStorageKey string
$metadata Nextras\Orm\Entity\Reflection\PropertyMetadata

Méthodes publiques

Méthode 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 méthode

public __construct ( Nextras\Orm\Mapper\IMapper $targetMapper, PropertyMetadata $metadata )
$targetMapper Nextras\Orm\Mapper\IMapper
$metadata Nextras\Orm\Entity\Reflection\PropertyMetadata

getIterator() public méthode

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

getIteratorCount() public méthode

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
Résultat string

$metadata protected_oe property

protected PropertyMetadata,Nextras\Orm\Entity\Reflection $metadata
Résultat Nextras\Orm\Entity\Reflection\PropertyMetadata