firefly-iii/app/Console/Kernel.php

67 lines
1.6 KiB
PHP
Raw Normal View History

<?php
2016-02-05 05:08:25 -06:00
declare(strict_types = 1);
/**
* Kernel.php
2016-04-01 09:44:46 -05:00
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
namespace FireflyIII\Console;
2015-02-05 21:39:52 -06:00
use FireflyIII\Console\Commands\UpgradeFireflyInstructions;
2015-02-05 21:39:52 -06:00
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
/**
* Class Kernel
*
* @package FireflyIII\Console
*/
2015-02-11 00:35:10 -06:00
class Kernel extends ConsoleKernel
{
2016-04-08 07:44:53 -05:00
/**
* The bootstrap classes for the application.
*
* This needs to be for with the next upgrade.
*
* @var array
*/
protected $bootstrappers = [
'Illuminate\Foundation\Bootstrap\DetectEnvironment',
'Illuminate\Foundation\Bootstrap\LoadConfiguration',
'FireflyIII\Bootstrap\ConfigureLogging',
'Illuminate\Foundation\Bootstrap\HandleExceptions',
'Illuminate\Foundation\Bootstrap\RegisterFacades',
'Illuminate\Foundation\Bootstrap\SetRequestForConsole',
'Illuminate\Foundation\Bootstrap\RegisterProviders',
'Illuminate\Foundation\Bootstrap\BootProviders',
];
2015-02-11 00:35:10 -06:00
/**
* The Artisan commands provided by your application.
*
* @var array
*/
2016-01-15 16:12:52 -06:00
protected $commands
= [
2016-01-19 06:59:54 -06:00
UpgradeFireflyInstructions::class,
2016-01-15 16:12:52 -06:00
];
2015-02-05 21:39:52 -06:00
2015-02-11 00:35:10 -06:00
/**
* Define the application's command schedule.
*
2016-01-15 16:12:52 -06:00
* @param \Illuminate\Console\Scheduling\Schedule $schedule
*
2015-02-11 00:35:10 -06:00
* @return void
*
* @SuppressWarnings(PHPMD.UnusedFormalParameters)
2015-02-11 00:35:10 -06:00
*/
protected function schedule(Schedule $schedule)
{
}
2015-02-05 21:39:52 -06:00
}