protected Application $application
private string $description
public initialise(Application $application, Input $input, Output $output): void
Parameter | Type | Description |
---|
$application | Application | |
$input | Input | |
$output | Output | |
public setName(string $name): self
Parameter | Type | Description |
---|
$name | string | |
public getName(): ?string
public setDescription(string $description): self
Parameter | Type | Description |
---|
$description | string | |
public getDescription(): ?string
public getCommands(): void
public getCommand(string $name): ?Command
Parameter | Type | Description |
---|
$name | string | |
public run(string $command): int
Parameter | Type | Description |
---|
$command | string | |
public addGlobalOption(string $long, ?string $short, ?string $description, ?bool $takesValue, mixed $default, ?string $valueType): self
Parameter | Type | Description |
---|
$long | string | |
$short | string | |
$description | string | |
$takesValue | bool | |
$default | mixed | |
$valueType | string | |
protected prepare(Input $input, Output $output): int
Parameter | Type | Description |
---|
$input | Input | |
$output | Output | |
protected addCommand(string $name, ?array $callback): Command
Parameter | Type | Description |
---|
$name | string | |
$callback | array | |
protected configure(): void
Generated by Hazaar API Doc Generator on Wed, 25 Jun 2025 06:07:10 +0000