| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 90% |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | class ApplicationStartedListener implements EventListenerInterface |
||
| 27 | { |
||
| 28 | public const ALLOWED_MODES = [ |
||
| 29 | 'apache2handler', |
||
| 30 | 'apache', |
||
| 31 | 'cgi-fcgi', |
||
| 32 | 'fpm-fcgi', |
||
| 33 | 'litespeed', |
||
| 34 | 'cli-server', |
||
| 35 | ]; |
||
| 36 | |||
| 37 | 7 | public function __construct( |
|
| 40 | 7 | } |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @param ApplicationReadyEvent $event |
||
| 44 | * |
||
| 45 | * @psalm-suppress MoreSpecificImplementedParamType |
||
| 46 | */ |
||
| 47 | 6 | public function on(EventInterface $event): void |
|
| 56 | } |
||
| 57 | |||
| 58 | 1 | public static function supports(EventInterface $event): bool |
|
| 63 |