Resque\Helpers\Stats::get PHP 메소드

get() 공개 정적인 메소드

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
리턴 mixed Value of the statistic.
    public static function get($stat, $key = Stats::DEFAULT_KEY)
    {
        return (int) Redis::instance()->hget($key, $stat);
    }