src/Cache.php
private function expired($cacheId)
    {
        $item = $this->cachedItems[$cacheId];
        return (! $this->storage->exists($cacheId)) ||
               $this->timeUtil->expired($item->expiry);
    }
private function expired($cacheId)
    {
        $item = $this->cachedItems[$cacheId];
        return (! $this->storage->exists($cacheId)) ||
               $this->timeUtil->expired($item->expiry);
    }
private function expired ( $ cacheId ) { $ item = $ this -> cachedItems [ $ cacheId ] ; return ( ! $ this -> storage -> exists ( $ cacheId ) ) || $ this -> timeUtil -> expired ( $ item -> expiry ) ; }
test if cache is expired
@param  string $cacheId cache identifier
@return boolean true if expired or false otherwise
test if cache is expired