コード例 #1
0
 /**
  * Adds the configuration for the "keys" key.
  */
 private function addKeysSection(ArrayNodeDefinition $rootNode)
 {
     $rootNode->cannotBeEmpty()->isRequired()->fixXmlConfig('key')->children()->arrayNode('keys')->isRequired()->cannotBeEmpty()->prototype('scalar')->isRequired()->cannotBeEmpty()->end();
 }