Symfony\Component\DependencyInjection\Compiler\Compiler::addPass
Adds a pass to the PassConfig.
Signature
public function addPass(CompilerPassInterface
$pass,
[string
$type = PassConfig::TYPE_BEFORE_OPTIMIZATION] )
Parameters
$pass
— Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface- A compiler pass
$type
— string- The type of the pass