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