src/Control/Middleware/HTTPCacheControlMiddleware.php
public function registerModificationDate($date)
    {
        $timestamp = is_numeric($date) ? $date : strtotime($date);
        if ($timestamp > $this->modificationDate) {
            $this->modificationDate = $timestamp;
        }
        return $this;
    }
public function registerModificationDate($date)
    {
        $timestamp = is_numeric($date) ? $date : strtotime($date);
        if ($timestamp > $this->modificationDate) {
            $this->modificationDate = $timestamp;
        }
        return $this;
    }
public function registerModificationDate ( $ date ) { $ timestamp = is_numeric ( $ date ) ? $ date : strtotime ( $ date ) ; if ( $ timestamp > $ this -> modificationDate ) { $ this -> modificationDate = $ timestamp ; } return $ this ; }
Register a modification date. Used to calculate the "Last-Modified" HTTP header.
Can be called multiple times, and will automatically retain the most recent date.

@param string|int $date Date string or timestamp
@return HTTPCacheControlMiddleware
Register a modification date . Used to calculate the Last - Modified HTTP header . Can be called multiple times and will automatically retain the most recent date .