mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-12-05 08:44:59 -06:00
15 lines
320 B
PHP
15 lines
320 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Api;
|
|
|
|
use App\Console\Commands\CacheOnlinePlayerStats;
|
|
use App\Http\Controllers\Controller;
|
|
use Illuminate\Http\Request;
|
|
|
|
class StatisticsController extends Controller
|
|
{
|
|
public function getOnlinePlayers() {
|
|
return \Cache::get(CacheOnlinePlayerStats::CACHE_KEY);
|
|
}
|
|
}
|