Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class ReturnTo |
||
22 | { |
||
23 | private $route; |
||
24 | |||
25 | private $parameters; |
||
26 | |||
27 | public function __construct(string $route, array $parameters) |
||
28 | { |
||
29 | $this->route = $route; |
||
30 | $this->parameters = $parameters; |
||
31 | } |
||
32 | |||
33 | public function getRoute(): string |
||
34 | { |
||
35 | return $this->route; |
||
36 | } |
||
37 | |||
38 | public function getParameters(): array |
||
41 | } |
||
42 | } |
||
43 |