| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 16 | public function process(ContainerBuilder $container) |
||
| 17 | { |
||
| 18 | if (in_array( |
||
| 19 | 'PimEnterprise\Bundle\CatalogBundle\PimEnterpriseCatalogBundle', |
||
| 20 | $container->getParameter('kernel.bundles')) |
||
| 21 | ) { |
||
| 22 | $registry = $container->getDefinition('akeneo_batch.connectors'); |
||
| 23 | $configFile = realpath(__DIR__ . '/../../Resources/config/pimee_batch_jobs.yml'); |
||
| 24 | $container->addResource(new FileResource($configFile)); |
||
| 25 | |||
| 26 | $this->registerJobs($registry, $configFile); |
||
| 27 | } |
||
| 28 | } |
||
| 29 | } |