HttpResponse::setHeader
HttpResponse::setStream
The HttpResponse
PHP Manual

# HttpResponse::setLastModified

(PECL pecl_http >= 0.12.0)

HttpResponse::setLastModified — Set last modified

### Descrição

static bool HttpResponse::setLastModified ( int `$timestamp` )

Set a custom Last-Modified date.

### Parâmetros

`timestamp`

  Unix timestamp representing the last modification time of the sent entity

### Valor Retornado

Retorna `TRUE` em caso de sucesso ou `FALSE` em falhas.

### Veja Também

- HttpResponse::getLastModified - Get last modified
- HttpResponse::getETag - Get ETag
- HttpResponse::setETag - Set ETag

HttpResponse::setHeader
HttpResponse::setStream
The HttpResponse
PHP Manual