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

prepareCacheStore() protected method

Prepare the cache store.
protected prepareCacheStore ( ) : void
return void
    protected function prepareCacheStore()
    {
        if ($this->retrieve('expires') != $this->throttle->getExpires()) {
            $this->forget('requests');
            $this->forget('expires');
            $this->forget('reset');
        }
    }