Compiler
Interfaces, Classes and Traits
- CompilerPassInterface
- Interface that must be implemented by compilation passes.
- AbstractRecursivePass
- AliasDeprecatedPublicServicesPass
- AnalyzeServiceReferencesPass
- Run this pass before passes that need to know more about the relation of your services.
- AttributeAutoconfigurationPass
- AutoAliasServicePass
- Sets a service to be an alias of another one, given a format pattern.
- AutowirePass
- Inspects existing service definitions and wires the autowired ones using the type hints of their classes.
- AutowireRequiredMethodsPass
- Looks for definitions with autowiring enabled and registers their corresponding "@required" methods as setters.
- AutowireRequiredPropertiesPass
- Looks for definitions with autowiring enabled and registers their corresponding "@required" properties.
- CheckArgumentsValidityPass
- Checks if arguments of methods are properly configured.
- CheckCircularReferencesPass
- Checks your services for circular references.
- CheckDefinitionValidityPass
- This pass validates each definition individually only taking the information into account which is contained in the definition itself.
- CheckExceptionOnInvalidReferenceBehaviorPass
- Checks that all references are pointing to a valid service.
- CheckReferenceValidityPass
- Checks the validity of references.
- CheckTypeDeclarationsPass
- Checks whether injected parameters are compatible with type declarations.
- Compiler
- This class is used to remove circular dependencies between individual passes.
- DecoratorServicePass
- Overwrites a service but keeps the overridden one.
- DefinitionErrorExceptionPass
- Throws an exception for any Definitions that have errors and still exist.
- ExtensionCompilerPass
- A pass to automatically process extensions if they implement CompilerPassInterface.
- InlineServiceDefinitionsPass
- Inline service definitions where this is possible.
- MergeExtensionConfigurationPass
- Merges extension configs into the container builder.
- PassConfig
- Compiler Pass Configuration.
- RegisterAutoconfigureAttributesPass
- Reads #[Autoconfigure] attributes on definitions that are autoconfigured and don't have the "container.ignore_attributes" tag.
- RegisterEnvVarProcessorsPass
- Creates the container.env_var_processors_locator service.
- RegisterReverseContainerPass
- RegisterServiceSubscribersPass
- Compiler pass to register tagged services that require a service locator.
- RemoveAbstractDefinitionsPass
- Removes abstract Definitions.
- RemovePrivateAliasesPass
- 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.
- RemoveUnusedDefinitionsPass
- Removes unused service definitions from the container.
- ReplaceAliasByActualDefinitionPass
- Replaces aliases with actual service definitions, effectively removing these aliases.
- ResolveBindingsPass
- ResolveChildDefinitionsPass
- This replaces all ChildDefinition instances with their equivalent fully merged Definition instance.
- ResolveClassPass
- ResolveDecoratorStackPass
- ResolveEnvPlaceholdersPass
- Replaces env var placeholders by their current values.
- ResolveFactoryClassPass
- ResolveHotPathPass
- Propagate "container.hot_path" tags to referenced services.
- ResolveInstanceofConditionalsPass
- Applies instanceof conditionals to definitions.
- ResolveInvalidReferencesPass
- Emulates the invalid behavior if the reference is not found within the container.
- ResolveNamedArgumentsPass
- Resolves named arguments to their corresponding numeric index.
- ResolveNoPreloadPass
- Propagate the "container.no_preload" tag.
- ResolveParameterPlaceHoldersPass
- Resolves all parameter placeholders "%somevalue%" to their real values.
- ResolvePrivatesPass
- ResolveReferencesToAliasesPass
- Replaces all references to aliases with references to the actual service.
- ResolveServiceSubscribersPass
- Compiler pass to inject their service locator to service subscribers.
- ResolveTaggedIteratorArgumentPass
- Resolves all TaggedIteratorArgument arguments.
- ServiceLocatorTagPass
- Applies the "container.service_locator" tag by wrapping references into ServiceClosureArgument instances.
- ServiceReferenceGraph
- This is a directed graph of your services.
- ServiceReferenceGraphEdge
- Represents an edge in your service graph.
- ServiceReferenceGraphNode
- Represents a node in your service graph.
- ValidateEnvPlaceholdersPass
- Validates environment variable placeholders used in extension configuration with dummy values.
- PriorityTaggedServiceTrait
- Trait that allows a generic method to find and sort service by priority option in the tag.