Nextras\Orm\Collection\ICollection::setRelationshipMapping PHP Méthode

setRelationshipMapping() public méthode

Sets relationship mapping over collection.
public setRelationshipMapping ( Nextras\Orm\Mapper\IRelationshipMapper $mapper = null, Nextras\Orm\Entity\IEntity $parent = null ) : self
$mapper Nextras\Orm\Mapper\IRelationshipMapper
$parent Nextras\Orm\Entity\IEntity
Résultat self
    public function setRelationshipMapping(IRelationshipMapper $mapper = null, IEntity $parent = null);