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 18
Application
getHypervel()
Get the Hypervel application instance.
at line 23
Command|null
add(Command $command)
Add a command to the application.
at line 30
Command
get(string $name)
Get a registered command by name or alias.
at line 35
bool
has(string $name)
Determine if a command exists.
at line 40
array
all(string|null $namespace = null)
Get all of the commands registered with the application.
at line 45
int
run(InputInterface|null $input = null, OutputInterface|null $output = null)
Run the console application.
at line 52
int
call(string|Command $command, array $parameters = [], OutputInterface|null $outputBuffer = null)
Run an Artisan console command by name.
at line 57
string
output()
Get the output for the last run command.
at line 62
Command|null
resolve(Command|string $command)
Add a command, resolving through the application.
at line 70
Application
resolveCommands(array|Command|string ...$commands)
Resolve an array of commands through the application.
at line 77
Application
setContainerCommandLoader()
Set the container command loader for lazy resolution.