Symfony2 API
Class

Symfony\Component\DependencyInjection\Compiler\CheckDefinitionValidityPass

class CheckDefinitionValidityPass implements CompilerPassInterface

This pass validates each definition individually only taking the information into account which is contained in the definition itself.

Later passes can rely on the following, and specifically do not need to
perform these checks themselves:

- non synthetic, non abstract services always have a class set
- synthetic services are always public
- synthetic services are always of non-prototype scope

Methods

process(ContainerBuilder $container)

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

Details

at line 40
public process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container