firefly-iii/app/Console/Kernel.php

58 lines
1.2 KiB
PHP
Raw Normal View History

<?php
2017-09-14 10:40:02 -05:00
declare(strict_types=1);
/**
* Kernel.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
namespace FireflyIII\Console;
2015-02-05 21:39:52 -06:00
2017-09-09 14:57:24 -05:00
use Illuminate\Console\Scheduling\Schedule;
2015-02-05 21:39:52 -06:00
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
2017-09-16 00:41:03 -05:00
/**
* File to make sure commnds work.
*/
2015-02-11 00:35:10 -06:00
class Kernel extends ConsoleKernel
{
2016-04-08 07:44:53 -05:00
/**
2017-09-09 14:57:24 -05:00
* The Artisan commands provided by your application.
2016-04-08 07:44:53 -05:00
*
* @var array
*/
2017-09-14 10:40:02 -05:00
protected $commands
= [
//
];
2016-04-08 07:44:53 -05:00
2015-02-11 00:35:10 -06:00
/**
2017-09-14 10:40:02 -05:00
* Register the commands for the application.
2015-02-11 00:35:10 -06:00
*
2017-09-09 14:57:24 -05:00
* @return void
2015-02-11 00:35:10 -06:00
*/
2017-09-14 10:40:02 -05:00
protected function commands()
2017-09-09 14:57:24 -05:00
{
2017-09-14 10:40:02 -05:00
$this->load(__DIR__ . '/Commands');
require base_path('routes/console.php');
2017-09-09 14:57:24 -05:00
}
2016-09-15 23:40:45 -05:00
/**
2017-09-14 10:40:02 -05:00
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
2017-10-06 08:41:21 -05:00
*
2016-09-15 23:40:45 -05:00
* @return void
2017-09-16 02:24:48 -05:00
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
2016-09-15 23:40:45 -05:00
*/
2017-09-14 10:40:02 -05:00
protected function schedule(Schedule $schedule)
2016-09-15 23:40:45 -05:00
{
}
2015-02-05 21:39:52 -06:00
}