Application
class Application extends Application implements Application (View source)
Methods
void
__construct(
Container $laravel,
Dispatcher $events,
string $version)
Create a new Artisan console application.
int
call(
string $command,
array $parameters = array())
Run an Artisan console command by name.
string
output()
Get the output for the last run command.
Command
add(
Command $command)
Add a command to the console.
Command
resolve(
string $command)
Add a command, resolving through the application.
$this
resolveCommands(
array|mixed $commands)
Resolve an array of commands through the application.
getLaravel()
Get the Laravel application instance.
Details
at line line 38
void
__construct(
Container $laravel,
Dispatcher $events,
string $version)
Create a new Artisan console application.
at line line 56
int
call(
string $command,
array $parameters = array())
Run an Artisan console command by name.
at line line 113
Command
resolve(
string $command)
Add a command, resolving through the application.
at line line 124
$this
resolveCommands(
array|mixed $commands)
Resolve an array of commands through the application.