PropertyConverter

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

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

package

Default

Methods

Initializes this converter with the DocBlock converter.

__construct(\phpDocumentor\Plugin\Core\Transformer\Writer\Xml\DocBlockConverter $docBlockConverter) 

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

convert(\DOMElement $parent, \phpDocumentor\Descriptor\PropertyDescriptor $property) : \DOMElement

Arguments

$parent

\DOMElement

Element to augment.

$property

\phpDocumentor\Descriptor\PropertyDescriptor

Element to export.

Response

\DOMElement

Properties

docBlockConverter

docBlockConverter : \phpDocumentor\Plugin\Core\Transformer\Writer\Xml\DocBlockConverter