DependencyInjection/Configuration/Configuration.php
/**
     * Adds the snc_redis.session configuration
     *
     * @param ArrayNodeDefinition $rootNode
     */
Adds the snc_redis.session configuration
@param ArrayNodeDefinition $rootNode
Adds the snc_redis . session configuration @param ArrayNodeDefinition $rootNode
private function addSessionSection(ArrayNodeDefinition $rootNode)
    {
        $rootNode
            ->children()
                ->arrayNode('session')
                    ->canBeUnset()
                    ->children()
                        ->scalarNode('client')->isRequired()->end()
                        ->scalarNode('prefix')->defaultValue('session')->end()
                        ->scalarNode('ttl')->end()
                        ->scalarNode('use_as_default')->defaultValue('true')->end()
                        ->booleanNode('locking')->defaultTrue()->end()
                        ->scalarNode('spin_lock_wait')->defaultValue(150000)->end()
                    ->end()
                ->end()
            ->end();
    }
private function addSessionSection ( ArrayNodeDefinition $ rootNode ) { $ rootNode -> children ( ) -> arrayNode ( 'session' ) -> canBeUnset ( ) -> children ( ) -> scalarNode ( 'client' ) -> isRequired ( ) -> end ( ) -> scalarNode ( 'prefix' ) -> defaultValue ( 'session' ) -> end ( ) -> scalarNode ( 'ttl' ) -> end ( ) -> scalarNode ( 'use_as_default' ) -> defaultValue ( 'true' ) -> end ( ) -> booleanNode ( 'locking' ) -> defaultTrue ( ) -> end ( ) -> scalarNode ( 'spin_lock_wait' ) -> defaultValue ( 150000 ) -> end ( ) -> end ( ) -> end ( ) -> end ( ) ; }
Adds the snc_redis.session configuration
 @param ArrayNodeDefinition $rootNode
Adds the snc_redis . session configuration @param ArrayNodeDefinition $rootNode