Skip to content

Commit c099f58

Browse files
bug symfony#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
2 parents 2b58357 + feb5e62 commit c099f58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ public function load(array $configs, ContainerBuilder $container)
243243
}
244244

245245
$this->addAnnotatedClassesToCompile(array(
246-
'**Bundle\\Controller\\',
247-
'**Bundle\\Entity\\',
246+
'**\\Controller\\',
247+
'**\\Entity\\',
248248

249249
// Added explicitly so that we don't rely on the class map being dumped to make it work
250250
'Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller',

0 commit comments

Comments
 (0)