Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions DependencyInjection/JMSJobQueueExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -72,5 +73,9 @@ public function prepend(ContainerBuilder $container)
)
)
));

$config = Yaml::parse(file_get_contents(__DIR__ . '/../Resources/config/ezplatform.yaml'));

$container->prependExtensionConfig('ibexa', $config);
}
}
7 changes: 7 additions & 0 deletions Resources/config/ezplatform.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
orm:
entity_mappings:
JMSJobQueueBundle:
is_bundle: true
type: annotation
dir: Entity
prefix: JMS\JobQueueBundle\Entity