Conditions | 1 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public static function getSymfonyVersion(): int |
||
37 | { |
||
38 | $kernel = new class('symfony_version', false) extends Kernel { |
||
39 | public function registerBundles(): iterable |
||
40 | { |
||
41 | return []; |
||
42 | } |
||
43 | |||
44 | public function registerContainerConfiguration(LoaderInterface $loader): void |
||
45 | { |
||
46 | } |
||
47 | }; |
||
48 | |||
49 | return $kernel::VERSION_ID; |
||
50 | } |
||
52 |