Files
expose/app/Commands/ServeCommand.php
Marcel Pociot 2b03398f40 wip
2020-04-14 21:19:23 +02:00

22 lines
392 B
PHP

<?php
namespace App\Commands;
use App\Server\Factory;
use Illuminate\Console\Scheduling\Schedule;
use LaravelZero\Framework\Commands\Command;
class ServeCommand extends Command
{
protected $signature = 'serve';
protected $description = 'Start the shaft server';
public function handle()
{
(new Factory())
->createServer()
->run();
}
}