Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class XgcCarbonExtension extends Extension |
||
16 | { |
||
17 | /** |
||
18 | * @param array $configs |
||
19 | * @param ContainerBuilder $container |
||
20 | * |
||
21 | * @throws Exception |
||
22 | */ |
||
23 | public function load(array $configs, ContainerBuilder $container): void |
||
24 | { |
||
25 | if (!$container->hasParameter('encoding')) { |
||
26 | $container->setParameter('encoding', 'utf8'); |
||
27 | } |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @return string |
||
32 | */ |
||
33 | public function getAlias(): string |
||
36 | } |
||
37 | } |
||
38 |