private function createExtensionNode(ArrayNodeDefinition $rootNode, $name, $validator)
  {
    $rootNode
      ->children()
      /**/->arrayNode($name)
      /*  */->addDefaultChildrenIfNoneSet(array())
      /*  */->requiresAtLeastOneElement()
      /*  */->useAttributeAsKey('name')
      /*  */->prototype('variable')
      /*    */->validate()
      /*      */->ifTrue($validator)
      /*      */->thenInvalid('Configuration value must be callable')
      /*    */->end()
      /*  */->end()
      /**/->end()
      ->end();
  }
private function createExtensionNode(ArrayNodeDefinition $rootNode, $name, $validator)
  {
    $rootNode
      ->children()
      /**/->arrayNode($name)
      /*  */->addDefaultChildrenIfNoneSet(array())
      /*  */->requiresAtLeastOneElement()
      /*  */->useAttributeAsKey('name')
      /*  */->prototype('variable')
      /*    */->validate()
      /*      */->ifTrue($validator)
      /*      */->thenInvalid('Configuration value must be callable')
      /*    */->end()
      /*  */->end()
      /**/->end()
      ->end();
  }
private function createExtensionNode ( ArrayNodeDefinition $ rootNode , $ name , $ validator ) { $ rootNode -> children ( ) /**/ -> arrayNode ( $ name ) /*  */ -> addDefaultChildrenIfNoneSet ( array ( ) ) /*  */ -> requiresAtLeastOneElement ( ) /*  */ -> useAttributeAsKey ( 'name' ) /*  */ -> prototype ( 'variable' ) /*    */ -> validate ( ) /*      */ -> ifTrue ( $ validator ) /*      */ -> thenInvalid ( 'Configuration value must be callable' ) /*    */ -> end ( ) /*  */ -> end ( ) /**/ -> end ( ) -> end ( ) ; }
Create configuration section

@param ArrayNodeDefinition $rootNode  Root node
@param string              $name      New configuration section name
@param callable            $validator Config value validator

@return null
Create configuration section