bug #23776 [FrameworkBundle] Warmup annotations for bundle-less controllers and entities (nicolas-grekas)
This PR was merged into the 3.3 branch.
Discussion
----------
[FrameworkBundle] Warmup annotations for bundle-less controllers and entities
| Q | A
| ------------- | ---
| Branch? | 3.3
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Commits
-------
feb5e62
[FrameworkBundle] Warmup annotations for bundle-less controllers and entities
This commit is contained in:
commit
c099f582fc
@ -243,8 +243,8 @@ class FrameworkExtension extends Extension
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->addAnnotatedClassesToCompile(array(
|
$this->addAnnotatedClassesToCompile(array(
|
||||||
'**Bundle\\Controller\\',
|
'**\\Controller\\',
|
||||||
'**Bundle\\Entity\\',
|
'**\\Entity\\',
|
||||||
|
|
||||||
// Added explicitly so that we don't rely on the class map being dumped to make it work
|
// Added explicitly so that we don't rely on the class map being dumped to make it work
|
||||||
'Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller',
|
'Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller',
|
||||||
|
Reference in New Issue
Block a user