Nextras\Orm\Mapper\IMapper::createCollectionManyHasOne PHP Method

createCollectionManyHasOne() public method

Creates collection with HasOne mapper.
public createCollectionManyHasOne ( PropertyMetadata $metadata, Nextras\Orm\Entity\IEntity $parent ) : Nextras\Orm\Collection\ICollection
$metadata Nextras\Orm\Entity\Reflection\PropertyMetadata
$parent Nextras\Orm\Entity\IEntity
return Nextras\Orm\Collection\ICollection
    public function createCollectionManyHasOne(PropertyMetadata $metadata, IEntity $parent);