protected function get() {
        return $this->cache->get('yasmin-ratelimiter-'.$this->endpoint, null, true)->then(null, function () {
            return array('limit' => 0, 'remaining' => 0, 'resetTime' => null);
        });
    }
protected function get() {
        return $this->cache->get('yasmin-ratelimiter-'.$this->endpoint, null, true)->then(null, function () {
            return array('limit' => 0, 'remaining' => 0, 'resetTime' => null);
        });
    }
protected function get ( ) { return $ this -> cache -> get ( 'yasmin-ratelimiter-' . $ this -> endpoint , null , true ) -> then ( null , function ( ) { return array ( 'limit' => 0 , 'remaining' => 0 , 'resetTime' => null ) ; } ) ; }
Retrieves the cache data.
@return \React\Promise\ExtendedPromiseInterface
Retrieves the cache data .