You are here

public function ResponseInterface::setDate in RESTful 7.2

Sets the Date header.

Parameters

\DateTime $date: A \DateTime instance

1 method overrides ResponseInterface::setDate()
Response::setDate in src/Http/Response.php
Sets the Date header.

File

src/Http/ResponseInterface.php, line 131
Contains \Drupal\restful\Http\ResponseInterface.

Class

ResponseInterface

Namespace

Drupal\restful\Http

Code

public function setDate(\DateTime $date);