Application
interface Application
Methods
Get the Hypervel application instance.
Add a command to the application.
Get a registered command by name or alias.
Determine if a command exists.
Get all of the commands registered with the application.
Run the console application.
Run an Artisan console command by name.
Get the output for the last run command.
Add a command, resolving through the application.
Resolve an array of commands through the application.
Set the container command loader for lazy resolution.
Details
at line 19
Application
getHypervel()
Get the Hypervel application instance.
at line 24
Command|null
add(Command $command)
Add a command to the application.
at line 31
Command
get(string $name)
Get a registered command by name or alias.
at line 36
bool
has(string $name)
Determine if a command exists.
at line 43
array
all(string|null $namespace = null)
Get all of the commands registered with the application.
at line 48
int
run(InputInterface|null $input = null, OutputInterface|null $output = null)
Run the console application.
at line 56
int
call(string|Command $command, array $parameters = [], OutputInterface|null $outputBuffer = null)
Run an Artisan console command by name.
at line 61
string
output()
Get the output for the last run command.
at line 66
Command|null
resolve(Command|string $command)
Add a command, resolving through the application.
at line 74
Application
resolveCommands(array|Command|string ...$commands)
Resolve an array of commands through the application.
at line 81
Application
setContainerCommandLoader()
Set the container command loader for lazy resolution.