DependencyInjection/M6WebApiExceptionExtension.php
protected function loadExceptionManager(ContainerBuilder $container, array $config)
    {
        $definition = new Definition(
            'M6Web\Bundle\ApiExceptionBundle\Manager\ExceptionManager',
            [
                $config['default'],
                $config['exceptions'],
            ]
        );
        $definition->setPublic(true);

        $container->setDefinition($this->getAlias().'.manager.exception', $definition);
    }
protected function loadExceptionManager(ContainerBuilder $container, array $config)
    {
        $definition = new Definition(
            'M6Web\Bundle\ApiExceptionBundle\Manager\ExceptionManager',
            [
                $config['default'],
                $config['exceptions'],
            ]
        );
        $definition->setPublic(true);

        $container->setDefinition($this->getAlias().'.manager.exception', $definition);
    }
protected function loadExceptionManager ( ContainerBuilder $ container , array $ config ) { $ definition = new Definition ( 'M6Web\Bundle\ApiExceptionBundle\Manager\ExceptionManager' , [ $ config [ 'default' ] , $ config [ 'exceptions' ] , ] ) ; $ definition -> setPublic ( true ) ; $ container -> setDefinition ( $ this -> getAlias ( ) . '.manager.exception' , $ definition ) ; }
load service exception manager

@param ContainerBuilder $container
@param array            $config
load service exception manager