Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ShowHelpCommand.php

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\Command
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal