function Extension::addAnnotatedClassesToCompile
Adds annotated classes to the class cache.
Parameters
string[] $annotatedClasses An array of class patterns:
Deprecated
since Symfony 7.1, to be removed in 8.0
File
-
vendor/
symfony/ http-kernel/ DependencyInjection/ Extension.php, line 48
Class
- Extension
- Allow adding classes to the class cache.
Namespace
Symfony\Component\HttpKernel\DependencyInjectionCode
public function addAnnotatedClassesToCompile(array $annotatedClasses) : void {
trigger_deprecation('symfony/http-kernel', '7.1', 'The "%s()" method is deprecated since Symfony 7.1 and will be removed in 8.0.', __METHOD__);
$this->annotatedClasses = array_merge($this->annotatedClasses, $annotatedClasses);
}