2015-07-12 19:01:42 +00:00
|
|
|
<?php
|
|
|
|
|
2015-09-10 18:31:09 +00:00
|
|
|
namespace BookStack\Console;
|
2015-07-12 19:01:42 +00:00
|
|
|
|
|
|
|
use Illuminate\Console\Scheduling\Schedule;
|
|
|
|
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
|
|
|
|
|
|
|
class Kernel extends ConsoleKernel
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The Artisan commands provided by your application.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $commands = [
|
2017-02-26 09:14:18 +00:00
|
|
|
\BookStack\Console\Commands\ClearViews::class,
|
|
|
|
\BookStack\Console\Commands\ClearActivity::class,
|
|
|
|
\BookStack\Console\Commands\ClearRevisions::class,
|
2016-04-23 17:14:26 +00:00
|
|
|
\BookStack\Console\Commands\RegeneratePermissions::class,
|
2015-07-12 19:01:42 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Define the application's command schedule.
|
|
|
|
*
|
|
|
|
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
protected function schedule(Schedule $schedule)
|
|
|
|
{
|
2017-02-26 09:14:18 +00:00
|
|
|
//
|
2015-07-12 19:01:42 +00:00
|
|
|
}
|
|
|
|
}
|