private function isModified($timestamp)
    {
        $target = 'If-Modified-Since';

        if ($this->headerBag->hasRequestHeader($target)) {
            $sinceTimestamp = strtotime($this->headerBag->getRequestHeader($target));

            if ($sinceTimestamp != false && $timestamp <= $sinceTimestamp) {
                return false;
            }
        }

        // By default
        return true;
    }
private function isModified($timestamp)
    {
        $target = 'If-Modified-Since';

        if ($this->headerBag->hasRequestHeader($target)) {
            $sinceTimestamp = strtotime($this->headerBag->getRequestHeader($target));

            if ($sinceTimestamp != false && $timestamp <= $sinceTimestamp) {
                return false;
            }
        }

        // By default
        return true;
    }
private function isModified ( $ timestamp ) { $ target = 'If-Modified-Since' ; if ( $ this -> headerBag -> hasRequestHeader ( $ target ) ) { $ sinceTimestamp = strtotime ( $ this -> headerBag -> getRequestHeader ( $ target ) ) ; if ( $ sinceTimestamp != false && $ timestamp <= $ sinceTimestamp ) { return false ; } } // By default return true ; }
Checks whether it has been modified since provided timestamp

@param integer $timestamp Last modified timestamp
@return boolean
Checks whether it has been modified since provided timestamp