| Conditions | 2 |
| Paths | 2 |
| Total Lines | 20 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | public function boot() |
||
| 26 | { |
||
| 27 | if (true === $this->booted) { |
||
| 28 | return; |
||
| 29 | } |
||
| 30 | |||
| 31 | $event = new KernelEvent($this); |
||
| 32 | $this->eventDispatcher->dispatch( |
||
| 33 | Events::BEFORE_KERNEL_BOOT, |
||
| 34 | $event |
||
| 35 | ); |
||
| 36 | |||
| 37 | parent::boot(); |
||
| 38 | |||
| 39 | $this->eventDispatcher->dispatch( |
||
| 40 | Events::AFTER_KERNEL_BOOT, |
||
| 41 | $event |
||
| 42 | ); |
||
| 43 | |||
| 44 | } |
||
|
|
|||
| 45 | |||
| 71 |