public __construct ( Puli\Repository\Api\ResourceRepository $repo, array $paths ) | ||
$repo | Puli\Repository\Api\ResourceRepository | The repository that will be used to load the resources. |
$paths | array | The paths of the resources which will be loaded into the collection. |