1 | <?php |
||
15 | class Handler |
||
16 | { |
||
17 | /** |
||
18 | * @var Registry |
||
19 | */ |
||
20 | private $registry; |
||
21 | |||
22 | /** |
||
23 | * @var EventDispatcherInterface |
||
24 | */ |
||
25 | private $dispatcher; |
||
26 | |||
27 | /** |
||
28 | * @param Registry $registry |
||
29 | * @param EventDispatcherInterface|null $dispatcher |
||
30 | */ |
||
31 | 2 | public function __construct( |
|
38 | |||
39 | /** |
||
40 | * Handle provide command |
||
41 | */ |
||
42 | 1 | public function handle(Client $client, $index, $type) |
|
59 | |||
60 | 1 | private function dispatchHandlingStartedEvent(array $entries) |
|
69 | |||
70 | 1 | private function dispatchProvidingStartedEvent(RegistryEntry $entry) |
|
79 | } |
||
80 |