Neos\FluidAdaptor\Service\XsdGenerator::addDocumentation PHP Метод

addDocumentation() защищенный Метод

Add documentation XSD to a given XML node
protected addDocumentation ( string $documentation, SimpleXMLElement $xsdParentNode ) : void
$documentation string Documentation string to add.
$xsdParentNode SimpleXMLElement Node to add the documentation to
Результат void
    protected function addDocumentation($documentation, \SimpleXMLElement $xsdParentNode)
    {
        $xsdAnnotation = $xsdParentNode->addChild('xsd:annotation');
        $this->addChildWithCData($xsdAnnotation, 'xsd:documentation', $documentation);
    }