src/Util/ApiLoader.php
protected function getFromCache()
    {
        $cacheKey = $this->getCacheKey();
        $result = $this->getCache()->get($cacheKey, false);
        if ($result === false) {
            return false;
        }

        // Deserialize JSON object and return as an array
        return Convert::json2array($result);
    }
protected function getFromCache()
    {
        $cacheKey = $this->getCacheKey();
        $result = $this->getCache()->get($cacheKey, false);
        if ($result === false) {
            return false;
        }

        // Deserialize JSON object and return as an array
        return Convert::json2array($result);
    }
protected function getFromCache ( ) { $ cacheKey = $ this -> getCacheKey ( ) ; $ result = $ this -> getCache ( ) -> get ( $ cacheKey , false ) ; if ( $ result === false ) { return false ; } // Deserialize JSON object and return as an array return Convert :: json2array ( $ result ) ; }
Attempts to load something from the cache and deserializes from JSON if successful

@return array|bool
@throws \Psr\SimpleCache\InvalidArgumentException
Attempts to load something from the cache and deserializes from JSON if successful