Documentation

ResolveInstanceofConditionalsPass
in package
implements CompilerPassInterface

Applies instanceof conditionals to definitions.

Tags
author

Nicolas Grekas p@tchwork.com

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

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>

Search results