10000 [FrameworkBundle] added a note about why we cannot include Controller… · ftassi/symfony@169f1b5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 169f1b5

Browse files
committed
[FrameworkBundle] added a note about why we cannot include Controller in the compiled classes
1 parent d236fc3 commit 169f1b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ public function load(array $configs, ContainerBuilder $container)
136136
'Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener',
137137
'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerNameParser',
138138
'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerResolver',
139+
// Cannot be included because annotations will parse the big compiled class file
140+
// 'Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller',
139141
'Symfony\\Bundle\\FrameworkBundle\\ContainerAwareEventDispatcher',
140142
'Symfony\\Bundle\\FrameworkBundle\\HttpKernel',
141143
));

0 commit comments

Comments
 (0)
0