use Doctrine\Common\Annotations\PsrCachedReader;
use Doctrine\Common\Annotations\Reader;
use Symfony\Bundle\FrameworkBundle\CacheWarmer\AnnotationsCacheWarmer;
use Symfony\Component\Cache\Adapter\ArrayAdapter;
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
use Symfony\Component\Cache\Adapter\PhpArrayAdapter;
return static function DContainerConfigurator
$container) { $container->
services() ->
set('annotations.reader', AnnotationReader::
class) ->
call('addGlobalIgnoredName',
['required'
]) // @deprecated since Symfony 6.3
->
deprecate('symfony/framework-bundle', '6.4', 'The "%service_id%" service is deprecated without replacement.'
) ->
set('annotations.cached_reader', PsrCachedReader::
class) ->
args([ service('annotations.reader'
),
inline_service(ArrayAdapter::
class),
abstract_arg('Debug-Flag'
),
]) ->
tag('annotations.cached_reader'
) ->
tag('container.do_not_inline'
) ->
deprecate('symfony/framework-bundle', '6.4', 'The "%service_id%" service is deprecated without replacement.'
)