Files
Speedtest-Tracker/conf/site/app/Console/Commands/SpeedtestVersionCommand.php
Henry Whitaker 651f7508b6 Updated to v1.7.0
2020-06-21 20:48:58 +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'));
}
}