src/Instruction/Relation/HasMany.php
private function manyProxiesInThe(string $property): MapsProperty
    {
        if (null === $this->loader) {
            throw NoLoaderAvailable::whilstRequiredFor($this->class);
        }
        return $this->addConstraintTo(HasManyProxies::inPropertyWithDifferentKey(
            $property,
            $this->keyOr($property),
            $this->container(),
            ProxyFactory::fromThis(
                SimpleHydrator::forThe($this->class),
                $this->loader,
                $this->updaterFactory()
            )
        ));
    }
private function manyProxiesInThe(string $property): MapsProperty
    {
        if (null === $this->loader) {
            throw NoLoaderAvailable::whilstRequiredFor($this->class);
        }
        return $this->addConstraintTo(HasManyProxies::inPropertyWithDifferentKey(
            $property,
            $this->keyOr($property),
            $this->container(),
            ProxyFactory::fromThis(
                SimpleHydrator::forThe($this->class),
                $this->loader,
                $this->updaterFactory()
            )
        ));
    }
private function manyProxiesInThe ( string $ property ) : MapsProperty { if ( null === $ this -> loader ) { throw NoLoaderAvailable :: whilstRequiredFor ( $ this -> class ) ; } return $ this -> addConstraintTo ( HasManyProxies :: inPropertyWithDifferentKey ( $ property , $ this -> keyOr ( $ property ) , $ this -> container ( ) , ProxyFactory :: fromThis ( SimpleHydrator :: forThe ( $ this -> class ) , $ this -> loader , $ this -> updaterFactory ( ) ) ) ) ; }
Maps an extra lazily loaded collection as list of proxies.

@param string $property The property that gets an extra lazy relationship.
@return MapsProperty    The resulting property mapping.
@throws InvalidMapperConfiguration
Maps an extra lazily loaded collection as list of proxies .