Copied!

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
CloneableInstantiable
Methods
public process(Symfony\Component\DependencyInjection\ContainerBuilder $container)
 

Processes the ContainerBuilder to validate the Definition.

  • return void
  • throws \RuntimeException When the Definition is invalid
Methods
private validateAttributes(string $id, string $tag, array $attributes, array $path = []) : void
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration