| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 35 | public function build(ContainerBuilder $container) |
||
| 36 | { |
||
| 37 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/config')); |
||
| 38 | $loader->load('services.yml'); |
||
| 39 | $loader->load('form.yml'); |
||
| 40 | $container->addCompilerPass(new loggerPass($this->config)); |
||
| 41 | $container->addCompilerPass(new componentPass($this->config)); |
||
| 42 | $container->addCompilerPass(new cachePass($this->config, $container->getParameter('kernel.cache_dir'))); |
||
| 43 | $container->addCompilerPass(new indexerPass($this->config)); |
||
| 44 | $container->addCompilerPass(new FormPass); |
||
| 45 | $container->addCompilerPass(new translatorPass); |
||
| 46 | } |
||
| 48 |