diff options
Diffstat (limited to 'engine/RedirectResponse.php')
-rw-r--r-- | engine/RedirectResponse.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/engine/RedirectResponse.php b/engine/RedirectResponse.php deleted file mode 100644 index 4526c6c..0000000 --- a/engine/RedirectResponse.php +++ /dev/null @@ -1,10 +0,0 @@ -<?php - -class RedirectResponse extends Response { - - public function __construct(string $url, int $code = 302) { - parent::__construct($code); - $this->addHeader('Location: '.$url); - } - -}
\ No newline at end of file |