/** * Sets the Expires 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 setExpires(DateTime $date = null) { return parent::setExpires($date); }