Files
Speedtest-Tracker/app/Console/Commands/SpeedtestVersionCommand.php
Henry Whitaker 832a10589d Added code for notifications changes
- Toggle for notification types
- Custom time for overview
2020-06-21 20:32:31 +01:00

43 lines
782 B
PHP

<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class SpeedtestVersionCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'speedtest:version';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Displays the version number of this instance';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
$this->info('Speedtest Tracker v' . config('speedtest.version'));
}
}