Resque\Helpers\Stats::get PHP Method

get() public static method

Get the value of the supplied statistic counter for the specified statistic
public static get ( string $stat, string $key = Stats::DEFAULT_KEY ) : mixed
$stat string The name of the statistic to get the stats for
$key string The stat key to use
return mixed Value of the statistic.
    public static function get($stat, $key = Stats::DEFAULT_KEY)
    {
        return (int) Redis::instance()->hget($key, $stat);
    }