Symfony\Component\DependencyInjection\Compiler
Classes
Run this pass before passes that need to know more about the relation of
your services.
Sets a service to be an alias of another one, given a format pattern.
Inspects existing service definitions and wires the autowired ones using the type hints of their classes.
Looks for definitions with autowiring enabled and registers their corresponding "@required" methods as setters.
Checks if arguments of methods are properly configured.
Checks your services for circular references.
This pass validates each definition individually only taking the information
into account which is contained in the definition itself.
Checks that all references are pointing to a valid service.
Checks the validity of references.
This class is used to remove circular dependencies between individual passes.
Overwrites a service but keeps the overridden one.
Throws an exception for any Definitions that have errors and still exist.
A pass to automatically process extensions if they implement
CompilerPassInterface.
Inline service definitions where this is possible.
A container builder preventing using methods that wouldn't have any effect from extensions.
Merges extension configs into the container builder.
Compiler Pass Configuration.
Trait that allows a generic method to find and sort service by priority option in the tag.
Creates the container.env_var_processors_locator service.
Compiler pass to register tagged services that require a service locator.
Removes abstract Definitions.
Remove private aliases from the container. They were only used to establish
dependencies between services, and these dependencies have been resolved in
one of the previous passes.
Removes unused service definitions from the container.
RepeatedPass
deprecated
A pass that might be run repeatedly.
Replaces aliases with actual service definitions, effectively removing these
aliases.
This replaces all ChildDefinition instances with their equivalent fully
merged Definition instance.
Replaces env var placeholders by their current values.
Propagate "container.hot_path" tags to referenced services.
Applies instanceof conditionals to definitions.
Emulates the invalid behavior if the reference is not found within the
container.
Resolves named arguments to their corresponding numeric index.
Resolves all parameter placeholders "%somevalue%" to their real values.
Replaces all references to aliases with references to the actual service.
Compiler pass to inject their service locator to service subscribers.
Resolves all TaggedIteratorArgument arguments.
Applies the "container.service_locator" tag by wrapping references into ServiceClosureArgument instances.
This is a directed graph of your services.
Represents an edge in your service graph.
Represents a node in your service graph.
Validates environment variable placeholders used in extension configuration with dummy values.
Interfaces
Interface that must be implemented by compilation passes.
RepeatablePassInterface
deprecated
Interface that must be implemented by passes that are run as part of an
RepeatedPass.