Neos\Flow\ResourceManagement\Collection::__construct PHP Method

__construct() public method

Constructor
public __construct ( string $name, Neos\Flow\ResourceManagement\Storage\StorageInterface $storage, Neos\Flow\ResourceManagement\Target\TargetInterface $target, array $pathPatterns )
$name string User-space name of this collection, as specified in the settings
$storage Neos\Flow\ResourceManagement\Storage\StorageInterface The storage for data used in this collection
$target Neos\Flow\ResourceManagement\Target\TargetInterface The publication target for this collection
$pathPatterns array Glob patterns for paths to consider – only supported by specific storages
    public function __construct($name, StorageInterface $storage, TargetInterface $target, array $pathPatterns)
    {
        $this->name = $name;
        $this->storage = $storage;
        $this->target = $target;
        $this->pathPatterns = $pathPatterns;
    }