Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionOneHasMany PHP Méthode

createCollectionOneHasMany() public méthode

public createCollectionOneHasMany ( PropertyMetadata $metadata, Nextras\Orm\Entity\IEntity $parent )
$metadata Nextras\Orm\Entity\Reflection\PropertyMetadata
$parent Nextras\Orm\Entity\IEntity
    public function createCollectionOneHasMany(PropertyMetadata $metadata, IEntity $parent)
    {
        return $this->findAll()->setRelationshipMapping($this->getRelationshipMapper(Relationship::ONE_HAS_MANY, $metadata), $parent);
    }