VarDumpFormatter
class VarDumpFormatter implements FormatterInterface, ValidationInterface (View source)
Var_dump formatter
Run provided data through Symfony VarDumper component.
Methods
isValidDataType(ReflectionClass $dataType)
Return true if the specified format is valid for use with this formatter.
mixed
validate(mixed $structuredData)
Throw an IncompatibleDataException if the provided data cannot be processed by this formatter. Return the source data if it is valid. The data may be encapsulated or converted if necessary.
Details
write(OutputInterface $output, mixed $data, FormatterOptions $options)
No description
isValidDataType(ReflectionClass $dataType)
Return true if the specified format is valid for use with this formatter.
mixed
validate(mixed $structuredData)
Throw an IncompatibleDataException if the provided data cannot be processed by this formatter. Return the source data if it is valid. The data may be encapsulated or converted if necessary.