October\Rain\Foundation\Console\Kernel

Extends
  • Illuminate\Foundation\Console\Kernel
Implements
  • Illuminate\Contracts\Console\Kernel

Protected Properties

protected array $bootstrappers

bootstrappers for the application

protected array $commands

commands provided by your application

Show inherited protected properties

Inherited Protected Properties

  • $app - The application implementation. (defined in Illuminate\Foundation\Console\Kernel)
  • $events - The event dispatcher implementation. (defined in Illuminate\Foundation\Console\Kernel)
  • $artisan - The Artisan application instance. (defined in Illuminate\Foundation\Console\Kernel)
  • $commandsLoaded - Indicates if the Closure commands have been loaded. (defined in Illuminate\Foundation\Console\Kernel)
  • $commandLifecycleDurationHandlers - All of the registered command duration handlers. (defined in Illuminate\Foundation\Console\Kernel)
  • $commandStartedAt - When the currently handled command started. (defined in Illuminate\Foundation\Console\Kernel)

Public Methods

Show inherited public methods

Inherited Public Methods

  • __construct() - Create a new console kernel instance. (defined in Illuminate\Foundation\Console\Kernel)
  • all() - Get all of the commands registered with the console. (defined in Illuminate\Foundation\Console\Kernel)
  • bootstrap() - Bootstrap the application for artisan commands. (defined in Illuminate\Foundation\Console\Kernel)
  • bootstrapWithoutBootingProviders() - Bootstrap the application without booting service providers. (defined in Illuminate\Foundation\Console\Kernel)
  • call() - Run an Artisan console command by name. (defined in Illuminate\Foundation\Console\Kernel)
  • command() - Register a Closure based command with the application. (defined in Illuminate\Foundation\Console\Kernel)
  • commandStartedAt() - When the command being handled started. (defined in Illuminate\Foundation\Console\Kernel)
  • handle() - Run the console application. (defined in Illuminate\Foundation\Console\Kernel)
  • output() - Get the output for the last run command. (defined in Illuminate\Foundation\Console\Kernel)
  • queue() - Queue the given console command. (defined in Illuminate\Foundation\Console\Kernel)
  • registerCommand() - Register the given command with the console application. (defined in Illuminate\Foundation\Console\Kernel)
  • setArtisan() - Set the Artisan application instance. (defined in Illuminate\Foundation\Console\Kernel)
  • terminate() - Terminate the application. (defined in Illuminate\Foundation\Console\Kernel)
  • whenCommandLifecycleIsLongerThan() - Register a callback to be invoked when the command lifecycle duration exceeds a given amount of time. (defined in Illuminate\Foundation\Console\Kernel)

Protected Methods

protected schedule()

protected schedule($schedule): void

schedule defines the application's command schedule

Show inherited protected methods

Inherited Protected Methods

  • availableAt() - Get the "available at" UNIX timestamp. (defined in Illuminate\Foundation\Console\Kernel)
  • bootstrappers() - Get the bootstrap classes for the application. (defined in Illuminate\Foundation\Console\Kernel)
  • commands() - Register the commands for the application. (defined in Illuminate\Foundation\Console\Kernel)
  • currentTime() - Get the current system time as a UNIX timestamp. (defined in Illuminate\Foundation\Console\Kernel)
  • defineConsoleSchedule() - Define the application's command schedule. (defined in Illuminate\Foundation\Console\Kernel)
  • getArtisan() - Get the Artisan application instance. (defined in Illuminate\Foundation\Console\Kernel)
  • load() - Register all of the commands in the given directory. (defined in Illuminate\Foundation\Console\Kernel)
  • parseDateInterval() - If the given value is an interval, convert it to a DateTime instance. (defined in Illuminate\Foundation\Console\Kernel)
  • renderException() - Render the given exception. (defined in Illuminate\Foundation\Console\Kernel)
  • reportException() - Report the exception to the exception handler. (defined in Illuminate\Foundation\Console\Kernel)
  • scheduleCache() - Get the name of the cache store that should manage scheduling mutexes. (defined in Illuminate\Foundation\Console\Kernel)
  • scheduleTimezone() - Get the timezone that should be used by default for scheduled events. (defined in Illuminate\Foundation\Console\Kernel)
  • secondsUntil() - Get the number of seconds until the given DateTime. (defined in Illuminate\Foundation\Console\Kernel)