Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / http-kernel / Exception / HttpException.php
index 4e1b52632b10ab37a4b30f953af08f8f6c774d36..e8e37605838cc6efb93b40d1e32a209fb6f798bc 100644 (file)
@@ -38,4 +38,14 @@ class HttpException extends \RuntimeException implements HttpExceptionInterface
     {
         return $this->headers;
     }
+
+    /**
+     * Set response headers.
+     *
+     * @param array $headers Response headers
+     */
+    public function setHeaders(array $headers)
+    {
+        $this->headers = $headers;
+    }
 }