Returns the value of the Expires header as a DateTime instance.
@api
Return value
\DateTime A DateTime instance
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php, line 634
Class
- Response
- Response represents an HTTP response.
Namespace
Symfony\Component\HttpFoundation
Code
public function getExpires() {
return $this->headers
->getDate('Expires');
}