src/Cache.php
public function get($cacheId)
    {
        $this->throwExceptionIfNotExists($cacheId);

        if ($this->expired($cacheId)) {
            return $this->getFromCacheable($cacheId);
        }

        return $this->getCachedItem($cacheId);
    }
public function get($cacheId)
    {
        $this->throwExceptionIfNotExists($cacheId);

        if ($this->expired($cacheId)) {
            return $this->getFromCacheable($cacheId);
        }

        return $this->getCachedItem($cacheId);
    }
public function get ( $ cacheId ) { $ this -> throwExceptionIfNotExists ( $ cacheId ) ; if ( $ this -> expired ( $ cacheId ) ) { return $ this -> getFromCacheable ( $ cacheId ) ; } return $ this -> getCachedItem ( $ cacheId ) ; }
retrieve cached item by id
@param  string $cacheId cached item identifier
@return string cached item
@throws CacheNameNotFound
retrieve cached item by id