/** * Returns the Last-Modified HTTP header as a DateTime instance. * * @return \DateTime|null A DateTime instance or null if the header does not exist * * @throws \RuntimeException When the HTTP header is not parseable * * @api */ public function getLastModified() { return $this->headers->getDate('Last-Modified'); }