XmlFormatter
class XmlFormatter implements FormatterInterface, ValidDataTypesInterface (View source)
Display a table of data with the Symfony Table class.
This formatter takes data of either the RowsOfFields or PropertyList data type. Tables can be rendered with the rows running either vertically (the normal orientation) or horizontally. By default, associative lists will be displayed as two columns, with the key in the first column and the value in the second column.
Traits
Provides a default implementation of isValidDataType.
Methods
Return the list of data types acceptable to this formatter
Return the list of data types acceptable to this formatter
No description
No description
Details
ReflectionClass[]
validDataTypes()
Return the list of data types acceptable to this formatter
isValidDataType(ReflectionClass $dataType)
Return the list of data types acceptable to this formatter
__construct()
No description
mixed
validate(mixed $structuredData)
No description
write(OutputInterface $output, $dom, FormatterOptions $options)
No description