public function setAutoLastModified()
    {
        $this->setLastModified(DateTime::createFromFormat('U', $this->file->mtime->getTimestamp()));

        return $this;
    }
public function setAutoLastModified()
    {
        $this->setLastModified(DateTime::createFromFormat('U', $this->file->mtime->getTimestamp()));

        return $this;
    }
public function setAutoLastModified ( ) { $ this -> setLastModified ( DateTime :: createFromFormat ( 'U' , $ this -> file -> mtime -> getTimestamp ( ) ) ) ; return $ this ; }
Automatically sets the Last-Modified header according the file modification date.
Automatically sets the Last - Modified header according the file modification date .