Resque\Helpers\Stats::clear PHP Method

clear() public static method

Delete a statistic with the given name.
public static clear ( string $stat, string $key = Stats::DEFAULT_KEY ) : boolean
$stat string The name of the statistic to delete.
$key string The stat key to use
return boolean True if successful, false if not.
    public static function clear($stat, $key = Stats::DEFAULT_KEY)
    {
        return (bool) Redis::instance()->hdel($key, $stat);
    }