PHP Class Airship\Hangar\Commands\Help

Inheritance: extends Airship\Hangar\Command
Afficher le fichier Open project: paragonie/airship Class Usage Examples

Méthodes publiques

Свойство Type Description
$description string
$display integer
$essential boolean
$name string
$showAll boolean

Méthodes publiques

Méthode Description
__construct ( array $commands = [] ) Preamble before firing is done here
fire ( array $args = [] ) : boolean Execute the help command
helpMenu ( ) : void Display the main help menu
sortCommands ( array $a, array $b ) : integer Used for uasort() calls in this class
usageInfo ( array $args = [] ) : void Display the usage information for this command.

Method Details

__construct() public méthode

Preamble before firing is done here
public __construct ( array $commands = [] )
$commands array

fire() public méthode

Execute the help command
public fire ( array $args = [] ) : boolean
$args array - CLI arguments
Résultat boolean

helpMenu() public méthode

Display the main help menu
public helpMenu ( ) : void
Résultat void

sortCommands() public méthode

Used for uasort() calls in this class
public sortCommands ( array $a, array $b ) : integer
$a array
$b array
Résultat integer

usageInfo() public méthode

Display the usage information for this command.
public usageInfo ( array $args = [] ) : void
$args array - CLI arguments
Résultat void

Property Details

$description public_oe property

public string $description
Résultat string

$display public_oe property

public int $display
Résultat integer

$essential public_oe property

public bool $essential
Résultat boolean

$name public_oe property

public string $name
Résultat string

$showAll public_oe property

public bool $showAll
Résultat boolean