public function expired($key, $scope = null, $lifetime = null)
    {
        if ($scope === null) {
            $scope = $this->getScope();
        }

        if ($lifetime === null) {
            $lifetime = $this->getGcMaximumLifetime();
        }

        return $this->getContainer()->expired($key, $scope, $lifetime);
    }
public function expired($key, $scope = null, $lifetime = null)
    {
        if ($scope === null) {
            $scope = $this->getScope();
        }

        if ($lifetime === null) {
            $lifetime = $this->getGcMaximumLifetime();
        }

        return $this->getContainer()->expired($key, $scope, $lifetime);
    }
public function expired ( $ key , $ scope = null , $ lifetime = null ) { if ( $ scope === null ) { $ scope = $ this -> getScope ( ) ; } if ( $ lifetime === null ) { $ lifetime = $ this -> getGcMaximumLifetime ( ) ; } return $ this -> getContainer ( ) -> expired ( $ key , $ scope , $ lifetime ) ; }
Checks whether an entry is expired.

@param string $key      The key of the element to check
@param string $scope    The cache scope
@param int    $lifetime The maximum age for the cached data in seconds - 0 for endless. If the cached
data is older but the given lifetime it will be removed from the cache. You don't
have to provide this argument if you call expired(). Every dataset knows it's
expire date and will be removed automatically. Use this only if you know what
you're doing...

@author Benjamin Carl <opensource@clickalicious.de>

@return bool TRUE if entry is expired, otherwise FALSE

@throws Doozr_Cache_Service_Exception
Checks whether an entry is expired .