Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class HandlerManager implements HandlerManagerInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var HandlerInterface[] The redirect handlers. |
||
17 | */ |
||
18 | protected $handlers = []; |
||
19 | |||
20 | /** |
||
21 | * @inheritDoc |
||
22 | */ |
||
23 | public function registerHandler(HandlerInterface $handler): void |
||
24 | { |
||
25 | $this->handlers[] = $handler; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @inheritDoc |
||
30 | */ |
||
31 | public function forwardRedirect(ContextInterface $context): void |
||
35 | } |
||
36 | } |
||
38 |