Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class RefererProvider implements RedirectUrlInterface |
||
16 | { |
||
17 | /** |
||
18 | * @var RedirectInterface |
||
19 | */ |
||
20 | private $redirect; |
||
21 | |||
22 | /** |
||
23 | * RefererProvider constructor. |
||
24 | * |
||
25 | * @param RedirectInterface $redirect |
||
26 | */ |
||
27 | public function __construct( |
||
28 | RedirectInterface $redirect |
||
29 | ) { |
||
30 | $this->redirect = $redirect; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @inheritDoc |
||
35 | */ |
||
36 | public function getRedirectUrl(): string |
||
39 | } |
||
40 | } |