浏览代码

[DoctrineMongoDBBundle] added a FIXME not for non-working code

Fabien Potencier 14 年之前
父节点
当前提交
46dc196288

+ 3 - 0
src/Symfony/Bundle/DoctrineMongoDBBundle/DependencyInjection/DoctrineMongoDBExtension.php

@@ -311,6 +311,9 @@ class DoctrineMongoDBExtension extends AbstractDoctrineExtension
 
     protected function loadConstraints(ContainerBuilder $container)
     {
+        // FIXME: the validator.annotations.namespaces parameter does not exist anymore
+        // and anyway, it was not available in the FrameworkExtension code
+        // as each bundle is isolated from the others
         if ($container->hasParameter('validator.annotations.namespaces')) {
             $container->setParameter('validator.annotations.namespaces', array_merge(
                 $container->getParameter('validator.annotations.namespaces'),