W3cubDocs

/Symfony 3.0

Symfony\Component\HttpKernel\DependencyInjection\AddClassesToCachePass

class AddClassesToCachePass 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

public __construct(Kernel $kernel)

Parameters

Kernel $kernel

public process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container