src/Property/Relationship/HasManyProxies.php
public static function inProperty(
        string $name,
        DeserializesCollections $collection,
        ProducesProxies $proxyBuilder
    ): ExposesDataKey {
        return new self($name, $name, $collection, $proxyBuilder);
    }
public static function inProperty(
        string $name,
        DeserializesCollections $collection,
        ProducesProxies $proxyBuilder
    ): ExposesDataKey {
        return new self($name, $name, $collection, $proxyBuilder);
    }
public static function inProperty ( string $ name , DeserializesCollections $ collection , ProducesProxies $ proxyBuilder ) : ExposesDataKey { return new self ( $ name , $ name , $ collection , $ proxyBuilder ) ; }
Creates a new lazily loaded has-many mapping.

@param string $name                          The name of both the key and
the property.
@param DeserializesCollections $collection   The deserializer for the
collection.
@param ProducesProxies         $proxyBuilder The proxy builder.
@return ExposesDataKey                       The lazy has-many mapping.
Creates a new lazily loaded has - many mapping .