mirror of
https://github.com/exane/not-gwent-online
synced 2025-08-06 20:53:36 +00:00
add website structure
This commit is contained in:
.gitignore
site
client
public
server
.env.exampleartisan
app
Console
Events
Exceptions
Http
Jobs
Listeners
Providers
User.phpbootstrap
composer.jsoncomposer.lockconfig
app.phpauth.phpbroadcasting.phpcache.phpcompile.phpdatabase.phpfilesystems.phpmail.phpqueue.phpservices.phpsession.phpview.php
database
phpspec.ymlphpunit.xmlserver.phpstorage
tests
30
site/server/app/Console/Kernel.php
Executable file
30
site/server/app/Console/Kernel.php
Executable file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace Gwent\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 = [
|
||||
\Gwent\Console\Commands\Inspire::class,
|
||||
];
|
||||
|
||||
/**
|
||||
* Define the application's command schedule.
|
||||
*
|
||||
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
||||
* @return void
|
||||
*/
|
||||
protected function schedule(Schedule $schedule)
|
||||
{
|
||||
$schedule->command('inspire')
|
||||
->hourly();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user