final class Reporter

Renders a command report as terminal tables and messages.

Every value written comes from definitions or sources, so control characters are removed and console markup is escaped.

Methods§

public function render(
    array<string, mixed> $report,
    Options $options,
    InputInterface $input,
    OutputInterface $output,
): void

Renders a report.

Parameters

$reportarray<string, mixed>The report of the command
$optionsOptionsThe command and its options
$inputInputInterfaceThe parsed command line
$outputOutputInterfaceReceives the tables and messages

Throws

InvalidInputException When the report does not have the shape of its command
Test cases 2
Called from 1
Calls 12

Test cases 6§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2
Other tests reaching this symbol 4

Relations§

Instantiated in 1
Method calls 1