class NoOutputFormatter implements FormatterInterface, ValidationInterface (View source)

No output formatter

This formatter never produces any output. It is useful in cases where a command should not produce any output by default, but may do so if the user explicitly includes a --format option.

Methods

isValidDataType(ReflectionClass $dataType)

All data types are acceptable.

mixed
validate(mixed $structuredData)

No description

write(OutputInterface $output, mixed $data, FormatterOptions $options)

No description

Details

isValidDataType(ReflectionClass $dataType)

All data types are acceptable.

Parameters

ReflectionClass $dataType

mixed validate(mixed $structuredData)

No description

Parameters

mixed $structuredData

Data to validate

Return Value

mixed

write(OutputInterface $output, mixed $data, FormatterOptions $options)

No description

Parameters

OutputInterface $output
mixed $data

Structured data to format

FormatterOptions $options