@@ -170,15 +170,23 @@ public function load(array $configs, ContainerBuilder $container)
170
170
}
171
171
172
172
$ this ->addClassesToCompile (array (
173
+ 'Symfony \\Component \\Config \\ConfigCache ' ,
173
174
'Symfony \\Component \\Config \\FileLocator ' ,
174
175
175
176
'Symfony \\Component \\Debug \\ErrorHandler ' ,
176
177
178
+ 'Symfony \\Component \\DependencyInjection \\ContainerAwareInterface ' ,
179
+ 'Symfony \\Component \\DependencyInjection \\Container ' ,
180
+
177
181
'Symfony \\Component \\EventDispatcher \\Event ' ,
178
182
'Symfony \\Component \\EventDispatcher \\ContainerAwareEventDispatcher ' ,
179
183
184
+ 'Symfony \\Component \\HttpFoundation \\Response ' ,
185
+ 'Symfony \\Component \\HttpFoundation \\ResponseHeaderBag ' ,
186
+
180
187
'Symfony \\Component \\HttpKernel \\EventListener \\ResponseListener ' ,
181
188
'Symfony \\Component \\HttpKernel \\EventListener \\RouterListener ' ,
189
+ 'Symfony \\Component \\HttpKernel \\Bundle \\Bundle ' ,
182
190
'Symfony \\Component \\HttpKernel \\Controller \\ControllerResolver ' ,
183
191
'Symfony \\Component \\HttpKernel \\Controller \\ArgumentResolver ' ,
184
192
'Symfony \\Component \\HttpKernel \\ControllerMetadata \\ArgumentMetadata ' ,
@@ -189,13 +197,18 @@ public function load(array $configs, ContainerBuilder $container)
189
197
'Symfony \\Component \\HttpKernel \\Event \\GetResponseEvent ' ,
190
198
'Symfony \\Component \\HttpKernel \\Event \\GetResponseForControllerResultEvent ' ,
191
199
'Symfony \\Component \\HttpKernel \\Event \\GetResponseForExceptionEvent ' ,
200
+ 'Symfony \\Component \\HttpKernel \\HttpKernel ' ,
192
201
'Symfony \\Component \\HttpKernel \\KernelEvents ' ,
193
202
'Symfony \\Component \\HttpKernel \\Config \\FileLocator ' ,
194
203
195
204
'Symfony \\Bundle \\FrameworkBundle \\Controller \\ControllerNameParser ' ,
196
205
'Symfony \\Bundle \\FrameworkBundle \\Controller \\ControllerResolver ' ,
206
+
197
207
// Cannot be included because annotations will parse the big compiled class file
198
208
// 'Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller',
209
+
210
+ // cannot be included as commands are discovered based on the path to this class via Reflection
211
+ // 'Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle',
199
212
));
200
213
}
201
214
@@ -1117,10 +1130,8 @@ private function registerCacheConfiguration(array $config, ContainerBuilder $con
1117
1130
}
1118
1131
1119
1132
$ this ->addClassesToCompile (array (
1120
- 'Psr\Cache\CacheItemInterface ' ,
1121
- 'Psr\Cache\CacheItemPoolInterface ' ,
1122
- 'Symfony\Component\Cache\Adapter\AdapterInterface ' ,
1123
- 'Symfony\Component\Cache\Adapter\AbstractAdapter ' ,
1133
+ 'Symfony\Component\Cache\Adapter\ApcuAdapter ' ,
1134
+ 'Symfony\Component\Cache\Adapter\FilesystemAdapter ' ,
1124
1135
'Symfony\Component\Cache\CacheItem ' ,
1125
1136
));
1126
1137
}
0 commit comments