Initial Commit
The initial public commit of MVGL website code.
This commit is contained in:
commit
b39ecf1638
2043 changed files with 215154 additions and 0 deletions
16
app/Helpers/Game.php
Normal file
16
app/Helpers/Game.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
use App\Models\Game;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
if (!function_exists('fetchGamesCount')) {
|
||||
/**
|
||||
* Fetch and return a count of games.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
function fetchGamesCount()
|
||||
{
|
||||
return Game::count();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue