| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class Context implements ContextInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var TokenInterface |
||
| 17 | */ |
||
| 18 | protected $token; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Constructs the redirect context. |
||
| 22 | * |
||
| 23 | * @param TokenInterface $token The redirect token. |
||
| 24 | */ |
||
| 25 | public function __construct(TokenInterface $token) |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @inheritDoc |
||
| 32 | */ |
||
| 33 | public function getToken(): TokenInterface |
||
| 38 |