From 2e51fbff9d8472a0e98af39aff52d30f0b67706b Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Wed, 21 Nov 2018 12:17:28 +0100 Subject: Added / route with redirects --- src/Http/Exceptions/HttpRedirect.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/Http/Exceptions/HttpRedirect.php (limited to 'src/Http/Exceptions/HttpRedirect.php') diff --git a/src/Http/Exceptions/HttpRedirect.php b/src/Http/Exceptions/HttpRedirect.php new file mode 100644 index 00000000..0e7d0250 --- /dev/null +++ b/src/Http/Exceptions/HttpRedirect.php @@ -0,0 +1,23 @@ + $url, + ], $headers); + + parent::__construct($statusCode, '', $headers); + } +} -- cgit v1.2.3-54-g00ecf