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
Namespace
Drupal\restful\HttpCode
public function setDate(\DateTime $date);