Puli\Repository\Resource\Collection\LazyResourceCollection::offsetSet PHP Метод

offsetSet() публичный Метод

Not supported.
public offsetSet ( string $key, Puli\Repository\Api\Resource\PuliResource $resource )
$key string The collection key to set.
$resource Puli\Repository\Api\Resource\PuliResource The resource to set.
    public function offsetSet($key, $resource)
    {
        throw new BadMethodCallException('Lazy resource collections cannot be modified.');
    }