| 1 | <?php |
||
| 7 | class Redirect extends Callback |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * ISO 639 alpha 2 language code |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $language; |
||
| 15 | |||
| 16 | 6 | public function init() |
|
| 20 | |||
| 21 | 12 | public static function initable(ServerRequestInterface $request): bool |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | 3 | public function getLanguage(): string |
|
| 35 | } |
||
| 36 |