1 | <?php |
||
8 | class RedirectConfig |
||
9 | { |
||
10 | /** |
||
11 | * @var array |
||
12 | */ |
||
13 | private $approveDestination; |
||
14 | |||
15 | /** |
||
16 | * @var array |
||
17 | */ |
||
18 | private $loginDestination; |
||
19 | |||
20 | /** |
||
21 | * @param string|array|null $approveDestination |
||
22 | * @param string|array|null $loginDestination |
||
23 | */ |
||
24 | public function __construct($approveDestination, $loginDestination) |
||
29 | |||
30 | /** |
||
31 | * @return array |
||
32 | * @throws InvalidStateException |
||
33 | */ |
||
34 | public function getApproveDestination(): array |
||
41 | |||
42 | /** |
||
43 | * @return array |
||
44 | * @throws InvalidStateException |
||
45 | */ |
||
46 | public function getLoginDestination(): array |
||
53 | } |
||
54 |