Total Complexity | 3 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class RedirectResponseHelper implements RedirectResponseHelperInterface |
||
15 | { |
||
16 | private UrlShortenerOptions $options; |
||
17 | |||
18 | public function __construct(UrlShortenerOptions $options) |
||
19 | { |
||
20 | $this->options = $options; |
||
21 | } |
||
22 | |||
23 | public function buildRedirectResponse(string $location): ResponseInterface |
||
31 | } |
||
32 | } |
||
33 |