function Kernel::setAnnotatedClassCache
@internal
Deprecated
since Symfony 7.1, to be removed in 8.0
File
-
vendor/
symfony/ http-kernel/ Kernel.php, line 283
Class
- Kernel
- The Kernel is the heart of the Symfony system.
Namespace
Symfony\Component\HttpKernelCode
public function setAnnotatedClassCache(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__);
file_put_contents(($this->warmupDir ?: $this->getBuildDir()) . '/annotations.map', \sprintf('<?php return %s;', var_export($annotatedClasses, true)));
}