Core/Cache/Cache.php
public function isDie() {
        if ($this->_time > 0) {
            $die = false;

            if (!file_exists($this->_fileName)) {
                $die = true;
            }
            else {
                $timeAgo = time() - filemtime($this->_fileName);
                if ($timeAgo > $this->_time) {
                    $die = true;
                }
            }

            return $die;
        }
        else {
            return true;
        }
    }
public function isDie() {
        if ($this->_time > 0) {
            $die = false;

            if (!file_exists($this->_fileName)) {
                $die = true;
            }
            else {
                $timeAgo = time() - filemtime($this->_fileName);
                if ($timeAgo > $this->_time) {
                    $die = true;
                }
            }

            return $die;
        }
        else {
            return true;
        }
    }
public function isDie ( ) { if ( $ this -> _time > 0 ) { $ die = false ; if ( ! file_exists ( $ this -> _fileName ) ) { $ die = true ; } else { $ timeAgo = time ( ) - filemtime ( $ this -> _fileName ) ; if ( $ timeAgo > $ this -> _time ) { $ die = true ; } } return $ die ; } else { return true ; } }
return true if the cache is too old
@access public
@return string
@since 3.0
@package Gcs\Framework\Core\Cache
return true if the cache is too old