protected function addPaths(ArrayNodeDefinition $node)
    {
        $node
            ->fixXmlConfig('path')
            ->children()
                ->arrayNode('paths')
                ->addDefaultsIfNotSet()
                    ->children()
                        ->scalarNode('workspace_directory')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/')->end()
                        ->scalarNode('configuration_file')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/supervisord.conf')->end()
                        ->scalarNode('pid_file')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/supervisor.pid')->end()
                        ->scalarNode('sock_file')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/supervisor.sock')->end()
                        ->scalarNode('log_file')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/supervisord.log')->end()
                        ->scalarNode('worker_configuration_directory')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/worker/')->end()
                        ->scalarNode('worker_output_log_file')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/logs/stdout.log')->end()
                        ->scalarNode('worker_error_log_file')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/logs/stderr.log')->end()
                        ->scalarNode('php_executable')->defaultValue('php')->end()
                    ->end()
                ->end()
            ->end()
        ;
    }
protected function addPaths(ArrayNodeDefinition $node)
    {
        $node
            ->fixXmlConfig('path')
            ->children()
                ->arrayNode('paths')
                ->addDefaultsIfNotSet()
                    ->children()
                        ->scalarNode('workspace_directory')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/')->end()
                        ->scalarNode('configuration_file')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/supervisord.conf')->end()
                        ->scalarNode('pid_file')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/supervisor.pid')->end()
                        ->scalarNode('sock_file')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/supervisor.sock')->end()
                        ->scalarNode('log_file')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/supervisord.log')->end()
                        ->scalarNode('worker_configuration_directory')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/worker/')->end()
                        ->scalarNode('worker_output_log_file')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/logs/stdout.log')->end()
                        ->scalarNode('worker_error_log_file')->defaultValue('%kernel.root_dir%/supervisor/%kernel.environment%/logs/stderr.log')->end()
                        ->scalarNode('php_executable')->defaultValue('php')->end()
                    ->end()
                ->end()
            ->end()
        ;
    }
protected function addPaths ( ArrayNodeDefinition $ node ) { $ node -> fixXmlConfig ( 'path' ) -> children ( ) -> arrayNode ( 'paths' ) -> addDefaultsIfNotSet ( ) -> children ( ) -> scalarNode ( 'workspace_directory' ) -> defaultValue ( '%kernel.root_dir%/supervisor/%kernel.environment%/' ) -> end ( ) -> scalarNode ( 'configuration_file' ) -> defaultValue ( '%kernel.root_dir%/supervisor/%kernel.environment%/supervisord.conf' ) -> end ( ) -> scalarNode ( 'pid_file' ) -> defaultValue ( '%kernel.root_dir%/supervisor/%kernel.environment%/supervisor.pid' ) -> end ( ) -> scalarNode ( 'sock_file' ) -> defaultValue ( '%kernel.root_dir%/supervisor/%kernel.environment%/supervisor.sock' ) -> end ( ) -> scalarNode ( 'log_file' ) -> defaultValue ( '%kernel.root_dir%/supervisor/%kernel.environment%/supervisord.log' ) -> end ( ) -> scalarNode ( 'worker_configuration_directory' ) -> defaultValue ( '%kernel.root_dir%/supervisor/%kernel.environment%/worker/' ) -> end ( ) -> scalarNode ( 'worker_output_log_file' ) -> defaultValue ( '%kernel.root_dir%/supervisor/%kernel.environment%/logs/stdout.log' ) -> end ( ) -> scalarNode ( 'worker_error_log_file' ) -> defaultValue ( '%kernel.root_dir%/supervisor/%kernel.environment%/logs/stderr.log' ) -> end ( ) -> scalarNode ( 'php_executable' ) -> defaultValue ( 'php' ) -> end ( ) -> end ( ) -> end ( ) -> end ( ) ; }
Add paths configuration

@param ArrayNodeDefinition $node
Add paths configuration