Cache\Adapter\Predis\PredisCachePool::fetchObjectFromCache PHP Method

fetchObjectFromCache() protected method

protected fetchObjectFromCache ( $key )
    protected function fetchObjectFromCache($key)
    {
        if (false === ($result = unserialize($this->cache->get($this->getHierarchyKey($key))))) {
            return [false, null, []];
        }
        return $result;
    }