1 | <?php |
||
5 | final class ResourceMethodCollectionLoader implements MethodCollectionLoader |
||
6 | { |
||
7 | /** |
||
8 | * @var array |
||
9 | */ |
||
10 | private $resources; |
||
11 | /** |
||
12 | * @var LoaderResolverInterface |
||
13 | */ |
||
14 | private $resolver; |
||
15 | /** |
||
16 | * @var array |
||
17 | */ |
||
18 | private $context; |
||
19 | |||
20 | /** |
||
21 | * ResourceMethodCollectionLoader constructor. |
||
22 | * |
||
23 | * @param LoaderResolverInterface $resolver |
||
24 | * @param array $resources |
||
25 | * @param array $context |
||
26 | */ |
||
27 | 11 | public function __construct(LoaderResolverInterface $resolver, array $resources, array $context = []) |
|
33 | |||
34 | /** {@inheritdoc} */ |
||
35 | 2 | public function loadCollection() |
|
55 | } |
||
56 |