original_string: protected function validateConcreteNode(ArrayNode $node)
      {
          $path = $node->getPath();
  
          if (null !== $this->key) {
              throw new InvalidDefinitionException(sprintf('->useAttributeAsKey() is not applicable to concrete nodes at path "%s"', $path));
          }
  
          if (false === $this->allowEmptyValue) {
              throw new InvalidDefinitionException(sprintf('->cannotBeEmpty() is not applicable to concrete nodes at path "%s"', $path));
          }
  
          if (true === $this->atLeastOne) {
              throw new InvalidDefinitionException(sprintf('->requiresAtLeastOneElement() is not applicable to concrete nodes at path "%s"', $path));
          }
  
          if ($this->default) {
              throw new InvalidDefinitionException(sprintf('->defaultValue() is not applicable to concrete nodes at path "%s"', $path));
          }
  
          if (false !== $this->addDefaultChildren) {
              throw new InvalidDefinitionException(sprintf('->addDefaultChildrenIfNoneSet() is not applicable to concrete nodes at path "%s"', $path));
          }
      }
code: protected function validateConcreteNode(ArrayNode $node)
      {
          $path = $node->getPath();
  
          if (null !== $this->key) {
              throw new InvalidDefinitionException(sprintf('->useAttributeAsKey() is not applicable to concrete nodes at path "%s"', $path));
          }
  
          if (false === $this->allowEmptyValue) {
              throw new InvalidDefinitionException(sprintf('->cannotBeEmpty() is not applicable to concrete nodes at path "%s"', $path));
          }
  
          if (true === $this->atLeastOne) {
              throw new InvalidDefinitionException(sprintf('->requiresAtLeastOneElement() is not applicable to concrete nodes at path "%s"', $path));
          }
  
          if ($this->default) {
              throw new InvalidDefinitionException(sprintf('->defaultValue() is not applicable to concrete nodes at path "%s"', $path));
          }
  
          if (false !== $this->addDefaultChildren) {
              throw new InvalidDefinitionException(sprintf('->addDefaultChildrenIfNoneSet() is not applicable to concrete nodes at path "%s"', $path));
          }
      }
code_tokens: protected function validateConcreteNode ( ArrayNode $ node ) { $ path = $ node -> getPath ( ) ; if ( null !== $ this -> key ) { throw new InvalidDefinitionException ( sprintf ( '->useAttributeAsKey() is not applicable to concrete nodes at path "%s"' , $ path ) ) ; } if ( false === $ this -> allowEmptyValue ) { throw new InvalidDefinitionException ( sprintf ( '->cannotBeEmpty() is not applicable to concrete nodes at path "%s"' , $ path ) ) ; } if ( true === $ this -> atLeastOne ) { throw new InvalidDefinitionException ( sprintf ( '->requiresAtLeastOneElement() is not applicable to concrete nodes at path "%s"' , $ path ) ) ; } if ( $ this -> default ) { throw new InvalidDefinitionException ( sprintf ( '->defaultValue() is not applicable to concrete nodes at path "%s"' , $ path ) ) ; } if ( false !== $ this -> addDefaultChildren ) { throw new InvalidDefinitionException ( sprintf ( '->addDefaultChildrenIfNoneSet() is not applicable to concrete nodes at path "%s"' , $ path ) ) ; } }
docstring: Validate the configuration of a concrete node.
  
  @throws InvalidDefinitionException
docstring_tokens: Validate the configuration of a concrete node .