| 1 | <?php |
||
| 8 | class CookieDetector implements Detector |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Detect the locale. |
||
| 12 | * |
||
| 13 | * @return string|array|null |
||
| 14 | */ |
||
| 15 | 4 | public function detect() |
|
| 21 | |||
| 22 | /** |
||
| 23 | * Should the detected locale be validated |
||
| 24 | * as a supported locale? |
||
| 25 | * |
||
| 26 | * @return bool |
||
| 27 | */ |
||
| 28 | 1 | public function shouldValidate() |
|
| 32 | } |
||
| 33 |