Contents

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)
  • $symfonyDispatcher - The Symfony event dispatcher implementation. (defined in Illuminate\Foundation\Console\Kernel)
  • $artisan - The Artisan application instance. (defined in Illuminate\Foundation\Console\Kernel)
  • $commandPaths - The paths where Artisan commands should be automatically discovered. (defined in Illuminate\Foundation\Console\Kernel)
  • $commandRoutePaths - The paths where Artisan "routes" should be automatically discovered. (defined in Illuminate\Foundation\Console\Kernel)
  • $commandsLoaded - Indicates if the Closure commands have been loaded. (defined in Illuminate\Foundation\Console\Kernel)
  • $loadedPaths - The commands paths that have been "loaded". (defined in Illuminate\Foundation\Console\Kernel)
  • $kernelCommands - The commands registered through the "load" and "command" methods. (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)
  • addCommandPaths() - Set the paths that should have their Artisan commands automatically discovered. (defined in Illuminate\Foundation\Console\Kernel)
  • addCommandRoutePaths() - Set the paths that should have their Artisan "routes" automatically discovered. (defined in Illuminate\Foundation\Console\Kernel)
  • addCommands() - Set the Artisan commands provided by the application. (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)
  • findCommand() - Get the registered command instance with the given name, if any. (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)
  • rerouteSymfonyCommandEvents() - Re-route the Symfony command events to their Laravel counterparts. (defined in Illuminate\Foundation\Console\Kernel)
  • resolveConsoleSchedule() - Resolve a console schedule instance. (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)
  • commandClassFromFile() - Extract the command class name from the given file path. (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)
  • discoverCommands() - Discover the commands that should be automatically loaded. (defined in Illuminate\Foundation\Console\Kernel)
  • findCommands() - Get the Finder instance for discovering command files. (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)
  • runTimeForHumans() - Given a start time, format the total run time for human readability. (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)
  • shouldDiscoverCommands() - Determine if the kernel should discover commands. (defined in Illuminate\Foundation\Console\Kernel)