Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
21 | public function boot() |
||
22 | { |
||
23 | /** @var EventDispatcher $eventDispatcher */ |
||
24 | $eventDispatcher = $this->app->make(EventDispatcher::class); |
||
25 | |||
26 | foreach ($this->getEventSubscribers() as $eventSubscriber) { |
||
27 | $eventDispatcher->addSubscriber($this->app->make($eventSubscriber)); |
||
28 | } |
||
29 | |||
30 | } |
||
31 | |||
38 |