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

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

Not supported.
public replace ( Puli\Repository\Api\Resource\PuliResource[] | Traversabl\Traversable $resources )
$resources Puli\Repository\Api\Resource\PuliResource[] | Traversabl\Traversable The resources to replace the collection contents with.
    public function replace($resources)
    {
        throw new BadMethodCallException('Lazy resource collections cannot be modified.');
    }