VarExportFormatter
class VarExportFormatter implements FormatterInterface, ValidationInterface (View source)
Var_export formatter
Run provided date thruogh var_export.
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.