Console
Table of Contents
- $commands : array<string|int, mixed>
- Commanads.
- $container : Container
- Instance of container.
- __construct() : void
- Create a new console instance.
- getCommands() : array<string|int, mixed>
- Get all commands.
- parseFlags() : array<string|int, mixed>
- Parse the flags from command.
- run() : void
- Run the alphaz console.
Properties
$commands
Commanads.
private
array<string|int, mixed>
$commands
= []
Tags
$container
Instance of container.
private
Container
$container
Tags
Methods
__construct()
Create a new console instance.
public
__construct() : void
Return values
void —getCommands()
Get all commands.
public
getCommands() : array<string|int, mixed>
Return values
array<string|int, mixed> —parseFlags()
Parse the flags from command.
public
parseFlags(array<string|int, mixed> $flags) : array<string|int, mixed>
Parameters
- $flags : array<string|int, mixed>
-
Raw flags.
Return values
array<string|int, mixed> —run()
Run the alphaz console.
public
run(mixed $param) : void
Parameters
- $param : mixed