Files
firefly-iii/app/Console/Kernel.php

43 lines
855 B
PHP
Raw Normal View History

<?php
namespace FireflyIII\Console;
2015-02-06 04:39:52 +01:00
2017-09-09 21:57:24 +02:00
use Illuminate\Console\Scheduling\Schedule;
2015-02-06 04:39:52 +01:00
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
2015-02-11 07:35:10 +01:00
class Kernel extends ConsoleKernel
{
2016-04-08 14:44:53 +02:00
/**
2017-09-09 21:57:24 +02:00
* The Artisan commands provided by your application.
2016-04-08 14:44:53 +02:00
*
* @var array
*/
2017-09-09 21:57:24 +02:00
protected $commands = [
//
];
2016-04-08 14:44:53 +02:00
2015-02-11 07:35:10 +01:00
/**
2017-09-09 21:57:24 +02:00
* Define the application's command schedule.
2015-02-11 07:35:10 +01:00
*
2017-09-09 21:57:24 +02:00
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
2015-02-11 07:35:10 +01:00
*/
2017-09-09 21:57:24 +02:00
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')
// ->hourly();
}
2016-09-16 06:40:45 +02:00
/**
2017-09-09 21:57:24 +02:00
* Register the commands for the application.
2016-09-16 06:40:45 +02:00
*
* @return void
*/
protected function commands()
{
2017-09-09 21:57:24 +02:00
$this->load(__DIR__.'/Commands');
2016-09-16 06:40:45 +02:00
require base_path('routes/console.php');
}
2015-02-06 04:39:52 +01:00
}