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:
process(ContainerBuilder $container) Processes the ContainerBuilder to validate the Definition. |
Processes the ContainerBuilder to validate the Definition.
ContainerBuilder | $container |
RuntimeException | When the Definition is invalid |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/Compiler/CheckDefinitionValidityPass.html