ResolveInstanceofConditionalsPass
in package
implements
CompilerPassInterface
Applies instanceof conditionals to definitions.
Tags
Interfaces, Classes and Traits
- CompilerPassInterface
- Interface that must be implemented by compilation passes.
Table of Contents
- process() : mixed
- You can modify the container here before it is dumped to PHP code.
- mergeConditionals() : array<string|int, mixed>
- processDefinition() : Definition
Methods
process()
You can modify the container here before it is dumped to PHP code.
public
process(ContainerBuilder $container) : mixed
Parameters
- $container : ContainerBuilder
Return values
mixed —mergeConditionals()
private
mergeConditionals(array<string|int, mixed> $autoconfiguredInstanceof, array<string|int, mixed> $instanceofConditionals, ContainerBuilder $container) : array<string|int, mixed>
Parameters
- $autoconfiguredInstanceof : array<string|int, mixed>
- $instanceofConditionals : array<string|int, mixed>
- $container : ContainerBuilder
Return values
array<string|int, mixed> —processDefinition()
private
processDefinition(ContainerBuilder $container, string $id, Definition $definition, array<string|int, mixed> $tagsToKeep) : Definition
Parameters
- $container : ContainerBuilder
- $id : string
- $definition : Definition
- $tagsToKeep : array<string|int, mixed>