class ShowHelpCommand
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@internal This class is not covered by the backward compatibility promise for PHPUnit
Hierarchy
- class \PHPUnit\TextUI\Command\ShowHelpCommand implements \PHPUnit\TextUI\Command\Command
Expanded class hierarchy of ShowHelpCommand
1 file declares its use of ShowHelpCommand
- Application.php in vendor/
phpunit/ phpunit/ src/ TextUI/ Application.php
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Command/ Commands/ ShowHelpCommand.php, line 19
Namespace
PHPUnit\TextUI\CommandView source
final class ShowHelpCommand implements Command {
private readonly int $shellExitCode;
public function __construct(int $shellExitCode) {
$this->shellExitCode = $shellExitCode;
}
public function execute() : Result {
return Result::from((new Help())->generate(), $this->shellExitCode);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
ShowHelpCommand::$shellExitCode | private | property | ||
ShowHelpCommand::execute | public | function | Overrides Command::execute | |
ShowHelpCommand::__construct | public | function |