myvideogamelist.com/app/Helpers/User.php

16 lines
250 B
PHP
Raw Permalink Normal View History

<?php
use App\Models\User;
if (!function_exists('fetchActiveUsersCount')) {
/**
* Fetch and return a count of active users.
*
* @return int
*/
function fetchActiveUsersCount()
{
return User::count();
}
}