Symfony\Component\DependencyInjection\Compiler\Compiler::getPassConfig PHP Метод

getPassConfig() публичный Метод

Returns the PassConfig.
public getPassConfig ( ) : PassConfig
Результат PassConfig The PassConfig instance
    public function getPassConfig()
    {
        return $this->passConfig;
    }

Usage Example

 protected function process(ContainerBuilder $container)
 {
     $compiler = new Compiler();
     $passConfig = $compiler->getPassConfig();
     $passConfig->setOptimizationPasses(array(new AnalyzeServiceReferencesPass(true), new CheckCircularReferencesPass()));
     $passConfig->setRemovingPasses(array());
     $compiler->compile($container);
 }
All Usage Examples Of Symfony\Component\DependencyInjection\Compiler\Compiler::getPassConfig