W3cubDocs

/Symfony 4.1

AddAnnotatedClassesToCachePass

class AddAnnotatedClassesToCachePass implements CompilerPassInterface

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

Methods

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

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

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