Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class RedirectException extends Exception |
||
9 | { |
||
10 | /** |
||
11 | * @var String |
||
12 | */ |
||
13 | private $redirectResponse; |
||
14 | |||
15 | private $redirectMessage; |
||
16 | |||
17 | public function __construct( |
||
18 | string $redirectResponse, |
||
19 | string $message = "", |
||
20 | int $code = 0, |
||
21 | Throwable $previous = null |
||
22 | ) { |
||
23 | $this->redirectResponse = $redirectResponse; |
||
24 | $this->redirectMessage = $message; |
||
25 | parent::__construct($message, $code, $previous); |
||
26 | } |
||
27 | |||
28 | public function getRedirectResponse() |
||
31 | } |
||
32 | |||
33 | public function getRedirectMessage(){ |
||
38 | } |