Skip to content

Commit

Permalink
bug #23776 [FrameworkBundle] Warmup annotations for bundle-less contr…
Browse files Browse the repository at this point in the history
…ollers 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
  • Loading branch information
nicolas-grekas committed Aug 5, 2017
2 parents 2b58357 + feb5e62 commit c099f58
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -243,8 +243,8 @@ public function load(array $configs, ContainerBuilder $container)
}

$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',
Expand Down

0 comments on commit c099f58

Please sign in to comment.