public array $globalOptions
protected Application $application
private string $description
public initialise(Input $input, Output $output): void
Parameter | Type | Description |
---|
$input | Input | |
$output | Output | |
public run(Application $application): int
Parameter | Type | Description |
---|
$application | Application | |
public getDescription(): string
public getOptions(): void
public getArguments(): void
protected configure(): void
protected prepare(Input $input, Output $output): void
Parameter | Type | Description |
---|
$input | Input | |
$output | Output | |
protected execute(Input $input, Output $output): int
Parameter | Type | Description |
---|
$input | Input | |
$output | Output | |
protected setName(string $name): self
Parameter | Type | Description |
---|
$name | string | |
protected setDescription(string $description): self
Parameter | Type | Description |
---|
$description | string | |
protected setHelp(string $help): self
Parameter | Type | Description |
---|
$help | string | |
protected addGlobalOption(string $long, ?string $short, ?string $description, bool $required = false): self
Parameter | Type | Description |
---|
$long | string | |
$short | string | |
$description | string | |
$required | bool | |
protected addOption(string $long, ?string $short, ?string $description, bool $required = false): self
Parameter | Type | Description |
---|
$long | string | |
$short | string | |
$description | string | |
$required | bool | |
protected addArgument(string $name, string $description, bool $required = false): self
Parameter | Type | Description |
---|
$name | string | |
$description | string | |
$required | bool | |
Generated by Hazaar API Doc Generator