mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-30 07:32:39 +01:00
0abed1afe5
Added testing to cover each command. Removed example laravel inspire command. Standardised command names to be behind 'bookstack' naming. In reference to #320.
33 lines
787 B
PHP
33 lines
787 B
PHP
<?php
|
|
|
|
namespace BookStack\Console;
|
|
|
|
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 = [
|
|
\BookStack\Console\Commands\ClearViews::class,
|
|
\BookStack\Console\Commands\ClearActivity::class,
|
|
\BookStack\Console\Commands\ClearRevisions::class,
|
|
\BookStack\Console\Commands\RegeneratePermissions::class,
|
|
];
|
|
|
|
/**
|
|
* Define the application's command schedule.
|
|
*
|
|
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
|
* @return void
|
|
*/
|
|
protected function schedule(Schedule $schedule)
|
|
{
|
|
//
|
|
}
|
|
}
|