classOverview
final class Overview
Shows the application overview when no command, or only help, is requested.
The overview needs no project, so it works without a configuration file.
Methods§
public function requested(Application $console, ArgvInput $input): boolTells whether the command line asks for the overview.
Parameters
$console | Application | The application with its global options |
$input | ArgvInput | The command line; it is not modified |
Returns
bool True without a command or with the help command, unless --version is givenTest cases 2
Called from 1
public function show(
Application $console,
OutputInterface $output,
list<string> $arguments,
): voidWrites the overview, honoring --ansi, --no-ansi and --quiet.
Parameters
$console | Application | The application to describe |
$output | OutputInterface | Receives the overview |
$arguments | list<string> | The command-line arguments |
Test cases 3
Called from 1
Test cases 7§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 5
Other tests reaching this symbol 2
CommandsTestcallsApplicationTestcalls