[FrameworkBundle] Warmup annotations for bundle-less controllers and entities

This commit is contained in:
Nicolas Grekas 2017-08-03 13:53:37 +02:00
parent 584b7b44df
commit feb5e62a5a

View File

@ -242,8 +242,8 @@ class FrameworkExtension extends Extension
}
$this->addAnnotatedClassesToCompile(array(
'**Bundle\\Controller\\',
'**Bundle\\Entity\\',
'**\\Controller\\',
'**\\Entity\\',
// Added explicitly so that we don't rely on the class map being dumped to make it work
'Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller',