AddClassesToCachePass deprecated

class AddClassesToCachePass extends AddAnnotatedClassesToCachePass

deprecated

since version 3.3, to be removed in 4.0.

Sets the classes to compile in the cache for the container.

Methods

__construct(Kernel $kernel) from AddAnnotatedClassesToCachePass
process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

from AddAnnotatedClassesToCachePass

Details

__construct(Kernel $kernel)

Parameters

Kernel $kernel

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Parameters

ContainerBuilder $container