1 | <?php |
||
13 | class Handler |
||
14 | { |
||
15 | /** |
||
16 | * @var Registry |
||
17 | */ |
||
18 | private $registry; |
||
19 | |||
20 | /** |
||
21 | * @var EventDispatcherInterface |
||
22 | */ |
||
23 | private $dispatcher; |
||
24 | |||
25 | /** |
||
26 | * @param Registry $registry |
||
27 | * @param EventDispatcherInterface|null $dispatcher |
||
28 | */ |
||
29 | 2 | public function __construct( |
|
36 | |||
37 | /** |
||
38 | * Handle provide command |
||
39 | */ |
||
40 | 1 | public function handle(Client $client, $index, $type) |
|
56 | |||
57 | 1 | private function dispatchHandlingStartedEvent(array $entries) |
|
66 | |||
67 | 1 | private function dispatchProvidingStartedEvent(RegistryEntry $entry) |
|
76 | } |
||
77 |