Kernel
interface Kernel
Methods
Handle an incoming console command.
Bootstrap the application for artisan commands.
Resolve a console schedule instance.
Set the Artisan commands provided by the application.
Set the paths that should have their Artisan commands automatically discovered.
Set the paths that should have their Artisan "routes" automatically discovered.
Register the given command with the console application.
Run an Artisan console command by name.
Queue the given console command.
Get all of the commands registered with the console.
Get the output for the last run command.
Terminate the application.
Get the Artisan application instance.
Details
at line 23
int
handle(InputInterface $input, OutputInterface|null $output = null)
Handle an incoming console command.
at line 28
void
bootstrap()
Bootstrap the application for artisan commands.
at line 33
Schedule
resolveConsoleSchedule()
Resolve a console schedule instance.
at line 40
ClosureCommand
command(string $signature, Closure $callback)
Register a Closure based command with the application.
at line 48
Kernel
addCommands(array $commands)
Set the Artisan commands provided by the application.
at line 55
Kernel
addCommandPaths(array $paths)
Set the paths that should have their Artisan commands automatically discovered.
at line 62
Kernel
addCommandRoutePaths(array $paths)
Set the paths that should have their Artisan "routes" automatically discovered.
at line 67
void
registerCommand(Command $command)
Register the given command with the console application.
at line 75
int
call(string $command, array $parameters = [], OutputInterface|null $outputBuffer = null)
Run an Artisan console command by name.
at line 80
PendingDispatch
queue(string $command, array $parameters = [])
Queue the given console command.
at line 87
array
all()
Get all of the commands registered with the console.
at line 92
string
output()
Get the output for the last run command.
at line 97
void
setArtisan(Application|null $artisan)
Set the Artisan application instance.
at line 102
void
terminate(InputInterface $input, int $status)
Terminate the application.
at line 107
Application
getArtisan()
Get the Artisan application instance.