/** * Sets the Last-Modified HTTP header with a DateTime instance. * * Passing null as value will remove the header. * * @param \DateTime|null $date A \DateTime instance or null to remove the header * * @return Response * * @api */ public function setLastModified(DateTime $date = null) { return parent::setLastModified($date); }