private array
$optimizationPasses;
private array
$removingPasses;
public function __construct() { $this->mergePass =
new MergeExtensionConfigurationPass();
$this->beforeOptimizationPasses =
[ 100 =>
[ new ResolveClassPass(),
new RegisterAutoconfigureAttributesPass(),
new AutowireAsDecoratorPass(),
new AttributeAutoconfigurationPass(),
new ResolveInstanceofConditionalsPass(),
new RegisterEnvVarProcessorsPass(),
],
-1000 =>
[new ExtensionCompilerPass()],
];
$this->optimizationPasses =
[[ new AutoAliasServicePass(),
new ValidateEnvPlaceholdersPass(),
new ResolveDecoratorStackPass(),