October\Rain\Foundation\Console\Kernel

Source: ~/vendor/october/rain/src/Foundation/Console/Kernel.php

Extends:

  • Illuminate\Foundation\Console\Kernel

Implements:

  • Illuminate\Contracts\Console\Kernel

Protected properties

protected array $bootstrappers

The bootstrap classes for the application.

protected array $commands

The Artisan commands provided by your application.

Show inherited protected properties

Inherited protected properties

  • protected Illuminate\Contracts\Foundation\Application $app - defined in Illuminate\Foundation\Console\Kernel. The application implementation.
  • protected Illuminate\Contracts\Events\Dispatcher $events - defined in Illuminate\Foundation\Console\Kernel. The event dispatcher implementation.
  • protected Illuminate\Console\Application $artisan - defined in Illuminate\Foundation\Console\Kernel. The Artisan application instance.
  • protected bool $commandsLoaded - defined in Illuminate\Foundation\Console\Kernel. Indicates if the Closure commands have been loaded.

Public methods

Show inherited public methods

Inherited public methods

  • public void __construct(Illuminate\Contracts\Foundation\Application $app, Illuminate\Contracts\Events\Dispatcher $events) - defined in Illuminate\Foundation\Console\Kernel. Create a new console kernel instance.
  • public array all() - defined in Illuminate\Foundation\Console\Kernel. Get all of the commands registered with the console.
  • public void bootstrap() - defined in Illuminate\Foundation\Console\Kernel. Bootstrap the application for artisan commands.
  • public int call(string $command, array $parameters=array(), Symfony\Component\Console\Output\OutputInterface $outputBuffer=NULL) - defined in Illuminate\Foundation\Console\Kernel. Run an Artisan console command by name.
  • public Illuminate\Foundation\Console\ClosureCommand command(string $signature, Closure $callback) - defined in Illuminate\Foundation\Console\Kernel. Register a Closure based command with the application.
  • public int handle(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output=NULL) - defined in Illuminate\Foundation\Console\Kernel. Run the console application.
  • public string output() - defined in Illuminate\Foundation\Console\Kernel. Get the output for the last run command.
  • public Illuminate\Foundation\Bus\PendingDispatch queue(string $command, array $parameters=array()) - defined in Illuminate\Foundation\Console\Kernel. Queue the given console command.
  • public void registerCommand(Symfony\Component\Console\Command\Command $command) - defined in Illuminate\Foundation\Console\Kernel. Register the given command with the console application.
  • public void setArtisan(Illuminate\Console\Application $artisan) - defined in Illuminate\Foundation\Console\Kernel. Set the Artisan application instance.
  • public void terminate(Symfony\Component\Console\Input\InputInterface $input, int $status) - defined in Illuminate\Foundation\Console\Kernel. Terminate the application.

Protected methods

protected void schedule(Illuminate\Console\Scheduling\Schedule $schedule)

Define the application's command schedule.

Parameters
  • Illuminate\Console\Scheduling\Schedule $schedule

Show inherited protected methods

Inherited protected methods

  • protected array bootstrappers() - defined in Illuminate\Foundation\Console\Kernel. Get the bootstrap classes for the application.
  • protected void commands() - defined in Illuminate\Foundation\Console\Kernel. Register the Closure based commands for the application.
  • protected void defineConsoleSchedule() - defined in Illuminate\Foundation\Console\Kernel. Define the application's command schedule.
  • protected Illuminate\Console\Application getArtisan() - defined in Illuminate\Foundation\Console\Kernel. Get the Artisan application instance.
  • protected void load(array|string $paths) - defined in Illuminate\Foundation\Console\Kernel. Register all of the commands in the given directory.
  • protected void renderException(Symfony\Component\Console\Output\OutputInterface $output, Exception $e) - defined in Illuminate\Foundation\Console\Kernel. Report the exception to the exception handler.
  • protected void reportException(Exception $e) - defined in Illuminate\Foundation\Console\Kernel. Report the exception to the exception handler.