1 | <?php |
||
12 | class CommandsProvider implements ProviderInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var QueryRepositoryInterface |
||
16 | */ |
||
17 | private $repository; |
||
18 | |||
19 | /** |
||
20 | * @var ResourceInterface |
||
21 | */ |
||
22 | private $resource; |
||
23 | |||
24 | 11 | public function __construct( |
|
25 | QueryRepositoryInterface $repository, |
||
26 | ResourceInterface $resource |
||
27 | ) { |
||
28 | 11 | $this->repository = $repository; |
|
29 | 11 | $this->resource = $resource; |
|
30 | 11 | } |
|
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | 11 | public function get() |
|
44 | } |
||
45 |