@@ -48,22 +48,22 @@ A number of methods expected by the framework were missing and have now been add
4848classes the implement ``ResponseInterface `` directly they will need to be compatible with the
4949updated requirements. These methods are as follows:
5050
51- * ``setLastModified($date); ``
52- * ``setLink(PagerInterface $pager); ``
53- * ``setJSON($body, bool $unencoded = false); ``
54- * ``getJSON() ; ``
55- * ``setXML($body); ``
56- * ``getXML(); ``
57- * ``send(); ``
58- * ``sendHeaders(); ``
59- * ``sendBody(); ``
60- * ``setCookie($name, $value = '', $expire = '', $domain = '', $path = '/', $prefix = '', $secure = false, $httponly = false, $samesite = null); ``
61- * ``hasCookie(string $name, string $value = null, string $prefix = ''): bool; ``
62- * ``getCookie(string $name = null, string $prefix = ''); ``
63- * ``deleteCookie(string $name = '', string $domain = '', string $path = '/', string $prefix = ''); ``
64- * ``getCookies(); ``
65- * ``redirect(string $uri, string $method = 'auto', int $code = null); ``
66- * ``download(string $filename = '', $data = '', bool $setMime = false); ``
51+ * ``setLastModified($date) ``
52+ * ``setLink(PagerInterface $pager) ``
53+ * ``setJSON($body, bool $unencoded = false) ``
54+ * ``getJSON(; ``
55+ * ``setXML($body) ``
56+ * ``getXML() ``
57+ * ``send() ``
58+ * ``sendHeaders() ``
59+ * ``sendBody() ``
60+ * ``setCookie($name, $value = '', $expire = '', $domain = '', $path = '/', $prefix = '', $secure = false, $httponly = false, $samesite = null) ``
61+ * ``hasCookie(string $name, string $value = null, string $prefix = ''): bool ``
62+ * ``getCookie(string $name = null, string $prefix = '') ``
63+ * ``deleteCookie(string $name = '', string $domain = '', string $path = '/', string $prefix = '') ``
64+ * ``getCookies() ``
65+ * ``redirect(string $uri, string $method = 'auto', int $code = null) ``
66+ * ``download(string $filename = '', $data = '', bool $setMime = false) ``
6767
6868To facilitate use of this interface these methods have been moved from the framework's ``Response `` into a ``ResponseTrait ``
6969which you may use, and ``DownloadResponse `` now extends ``Response `` directly to ensure maximum compatibility.
0 commit comments