Permalink
Browse files

Updated the DoctrineMongoDB event subscriber tag

  • Loading branch information...
1 parent afe5369 commit d49c530c5515572cbbf096ade047f8bec2f83990 @advanderveer advanderveer committed with jmikola Oct 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 DependencyInjection/FOQElasticaExtension.php
@@ -320,7 +320,7 @@ protected function loadTypeListener(array $typeConfig, ContainerBuilder $contain
$listenerDef->replaceArgument(2, $this->getDoctrineEvents($typeConfig));
switch ($typeConfig['driver']) {
case 'orm': $listenerDef->addTag('doctrine.event_subscriber'); break;
- case 'mongodb': $listenerDef->addTag('doctrine.odm.mongodb.event_subscriber'); break;
+ case 'mongodb': $listenerDef->addTag('doctrine_mongodb.odm.event_subscriber'); break;
}
if (isset($typeConfig['listener']['is_indexable_callback'])) {
$callback = $typeConfig['listener']['is_indexable_callback'];

0 comments on commit d49c530

Please sign in to comment.