public function addCompilerPasses(CompilerPassInterface ...$compilerPasses): void
    {
        foreach ($compilerPasses as $compilerPass)
        {
            $this->compilerPasses->attach($compilerPass);
        }
    }
public function addCompilerPasses(CompilerPassInterface ...$compilerPasses): void
    {
        foreach ($compilerPasses as $compilerPass)
        {
            $this->compilerPasses->attach($compilerPass);
        }
    }
public function addCompilerPasses ( CompilerPassInterface ... $ compilerPasses ) : void { foreach ( $ compilerPasses as $ compilerPass ) { $ this -> compilerPasses -> attach ( $ compilerPass ) ; } }
Add customer compiler pass.

@noinspection PhpDocSignatureInspection

@param CompilerPassInterface ...$compilerPasses

@return void
Add customer compiler pass .