classReporter
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,
): voidRenders a report.
Parameters
$report | array<string, mixed> | The report of the command |
$options | Options | The command and its options |
$input | InputInterface | The parsed command line |
$output | OutputInterface | Receives the tables and messages |
Throws
InvalidInputException When the report does not have the shape of its commandTest cases 2
Called from 1
Calls 12
- new
SymfonyStyleline 33 - method-call
SymfonyStyle::title()line 34 - method-call CoverageTable::render() line 36
- new CoverageTable line 36
- method-call SpecificationTable::render() line 38
- new SpecificationTable line 38
- static-call Fields::strings() line 40
- method-call
SymfonyStyle::listing()line 42 - function-call
array_mapline 42 - static-call Text::plain() line 42
- method-call Verdict::render() line 45
- new Verdict line 45
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
CommandsTestcallsSpecCommandTestcallsApplicationTestcallsCommandHandlerTestcalls