| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class ApiPlatformTranslationExtension extends Extension |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | public function load(array $configs, ContainerBuilder $container): void |
||
| 23 | { |
||
| 24 | $directory = |
||
| 25 | __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'Resources' . DIRECTORY_SEPARATOR . 'config'; |
||
| 26 | |||
| 27 | $loader = new Loader\YamlFileLoader($container, new FileLocator($directory)); |
||
| 28 | $loader->load('services.yml'); |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getAlias(): string |
||
| 34 | } |
||
| 35 | } |
||
| 36 |