\phpDocumentor\Plugin\Core\Transformer\Writer\XmlConstantConverter

Converter used to create an XML Element representing the constant and its DocBlock.

In order to convert the DocBlock to its XML representation this class requires the respective converter.

Summary

Methods
Properties
Constants
__construct()
convert()
No public properties found
No constants found
No protected methods found
$docBlockConverter
N/A
No private methods found
No private properties found
N/A

Properties

Methods

convert()

convert(\DOMElement  $parent, \phpDocumentor\Descriptor\ConstantDescriptor  $constant) : \DOMElement

Export the given reflected constant definition to the provided parent element.

Parameters

\DOMElement $parent

Element to augment.

\phpDocumentor\Descriptor\ConstantDescriptor $constant

Element to export.

Returns

\DOMElement