diff --git a/DependencyInjection/JMSJobQueueExtension.php b/DependencyInjection/JMSJobQueueExtension.php index b8be3fab..adaa3ed2 100644 --- a/DependencyInjection/JMSJobQueueExtension.php +++ b/DependencyInjection/JMSJobQueueExtension.php @@ -26,6 +26,7 @@ use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; use Symfony\Component\HttpKernel\DependencyInjection\Extension; use Symfony\Component\DependencyInjection\Loader; +use Symfony\Component\Yaml\Yaml; /** * This is the class that loads and manages your bundle configuration @@ -72,5 +73,9 @@ public function prepend(ContainerBuilder $container) ) ) )); + + $config = Yaml::parse(file_get_contents(__DIR__ . '/../Resources/config/ezplatform.yaml')); + + $container->prependExtensionConfig('ibexa', $config); } } diff --git a/Resources/config/ezplatform.yaml b/Resources/config/ezplatform.yaml new file mode 100644 index 00000000..8d60cf7b --- /dev/null +++ b/Resources/config/ezplatform.yaml @@ -0,0 +1,7 @@ +orm: + entity_mappings: + JMSJobQueueBundle: + is_bundle: true + type: annotation + dir: Entity + prefix: JMS\JobQueueBundle\Entity