Symfony\Component\HttpFoundation\Response::getLastModified
Returns the Last-Modified HTTP header as a DateTime instance.
Signature
public function getLastModified()
Returns
- DateTime|null
- A DateTime instance or null if the header does not exist
Errors/Exceptions
-
RuntimeException
- When the HTTP header is not parseable