protected function isCacheExpired($destiny)
    {
        $cacheModified = filemtime($destiny);

        if ($this->expiration !== null) {

            return $this->expiration > $cacheModified;
        }

        return filemtime($this->image) > $cacheModified;

    }
protected function isCacheExpired($destiny)
    {
        $cacheModified = filemtime($destiny);

        if ($this->expiration !== null) {

            return $this->expiration > $cacheModified;
        }

        return filemtime($this->image) > $cacheModified;

    }
protected function isCacheExpired ( $ destiny ) { $ cacheModified = filemtime ( $ destiny ) ; if ( $ this -> expiration !== null ) { return $ this -> expiration > $ cacheModified ; } return filemtime ( $ this -> image ) > $ cacheModified ; }
Is Expired cache of image?
@param string $destiny
@return boolean
Is Expired cache of image?