Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated the DoctrineMongoDB event subscriber tag

  • Loading branch information...
commit d49c530c5515572cbbf096ade047f8bec2f83990 1 parent afe5369
@advanderveer advanderveer authored jmikola committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  DependencyInjection/FOQElasticaExtension.php
View
2  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'];
Please sign in to comment.
Something went wrong with that request. Please try again.