src/Instruction/Relation/HasMany.php
private function manyNestedInThe(string $property): MapsProperty
    {
        if (null !== $this->container && !class_exists($this->container)) {
            throw NoSuchClass::couldNotLoadCollection($this->container);
        }
        return $this->addConstraintTo(HasManyNested::inPropertyWithDifferentKey(
            $property,
            $this->keyOr($property),
            $this->container(),
            $this->hydrator()
        ));
    }
private function manyNestedInThe(string $property): MapsProperty
    {
        if (null !== $this->container && !class_exists($this->container)) {
            throw NoSuchClass::couldNotLoadCollection($this->container);
        }
        return $this->addConstraintTo(HasManyNested::inPropertyWithDifferentKey(
            $property,
            $this->keyOr($property),
            $this->container(),
            $this->hydrator()
        ));
    }
private function manyNestedInThe ( string $ property ) : MapsProperty { if ( null !== $ this -> container && ! class_exists ( $ this -> container ) ) { throw NoSuchClass :: couldNotLoadCollection ( $ this -> container ) ; } return $ this -> addConstraintTo ( HasManyNested :: inPropertyWithDifferentKey ( $ property , $ this -> keyOr ( $ property ) , $ this -> container ( ) , $ this -> hydrator ( ) ) ) ; }
Maps an eagerly loaded collection from a nested data set.

@param string $property The property that gets a nested eager relationship.
@return MapsProperty    The resulting property mapping.
@throws InvalidMapperConfiguration
Maps an eagerly loaded collection from a nested data set .