Skip to content

Commit

Permalink
Replace old service alias with annotation_reader.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarcher committed Apr 15, 2015
1 parent 7fde7b3 commit 2994811
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public static function createPhpMappingDriver(array $mappings, array $managerPar
*/
public static function createAnnotationMappingDriver(array $namespaces, array $directories, array $managerParameters, $enabledParameter = false, array $aliasMap = array())
{
$driver = new Definition('Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver', array(new Reference('doctrine_mongodb.odm.metadata.annotation_reader'), $directories));
$driver = new Definition('Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver', array(new Reference('annotation_reader'), $directories));

return new DoctrineMongoDBMappingsPass($driver, $namespaces, $managerParameters, $enabledParameter, $aliasMap);
}
Expand Down

0 comments on commit 2994811

Please sign in to comment.