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