Dingo\Api\Http\RateLimit\Handler::cache PHP Method

cache() protected method

Cache a value under a given key for a certain amount of minutes.
protected cache ( string $key, mixed $value, integer $minutes ) : void
$key string
$value mixed
$minutes integer
return void
    protected function cache($key, $value, $minutes)
    {
        $this->cache->add($this->key($key), $value, $minutes);
    }