Created
February 6, 2021 20:19
-
-
Save mssoylu/8849e969a97746ae95f0513570f99617 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function load(array $configs, ContainerBuilder $container) | |
{ | |
// ... | |
$this->addAnnotatedClassesToCompile([ | |
// you can define the fully qualified class names... | |
'App\\Controller\\DefaultController', | |
// ... but glob patterns are also supported: | |
'**Bundle\\Controller\\', | |
// ... | |
]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment