We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68f8a93 commit 14b5707Copy full SHA for 14b5707
src/AppBundle/AppBundle.php
@@ -12,13 +12,14 @@
12
namespace AppBundle;
13
14
use AppBundle\DependencyInjection\Compiler\DocumentClassPass;
15
+use Symfony\Component\DependencyInjection\Compiler\PassConfig;
16
use Symfony\Component\DependencyInjection\ContainerBuilder;
17
use Symfony\Component\HttpKernel\Bundle\Bundle;
18
19
class AppBundle extends Bundle
20
{
21
public function build(ContainerBuilder $container)
22
- $container->addCompilerPass(new DocumentClassPass());
23
+ $container->addCompilerPass(new DocumentClassPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 100);
24
}
25
0 commit comments