Symfony\Component\HttpFoundation\Response::setLastModified
Sets the Last-Modified HTTP header with a DateTime instance.
Passing null as value will remove the header.
Signature
public function setLastModified([DateTime
$date = null] )
Parameters
$date
— \DateTime|null- A \DateTime instance or null to remove the header
Returns
- Response