Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| BrowserType | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | /** |
| 3 | * Jingga |
| 4 | * |
| 5 | * PHP Version 8.1 |
| 6 | * |
| 7 | * @package phpOMS\Message\Http |
| 8 | * @copyright Dennis Eichhorn |
| 9 | * @license OMS License 2.0 |
| 10 | * @version 1.0.0 |
| 11 | * @link https://jingga.app |
| 12 | */ |
| 13 | declare(strict_types=1); |
| 14 | |
| 15 | namespace phpOMS\Message\Http; |
| 16 | |
| 17 | use phpOMS\Stdlib\Base\Enum; |
| 18 | |
| 19 | /** |
| 20 | * Browser type enum. |
| 21 | * |
| 22 | * Browser types can be used for statistics or in order to deliver browser specific content. |
| 23 | * |
| 24 | * @package phpOMS\Message\Http |
| 25 | * @license OMS License 2.0 |
| 26 | * @link https://jingga.app |
| 27 | * @since 1.0.0 |
| 28 | */ |
| 29 | abstract class BrowserType extends Enum |
| 30 | { |
| 31 | public const IE = 'msie'; /* Internet Explorer */ |
| 32 | |
| 33 | public const EDGE = 'edge'; /* Internet Explorer Edge 20+ */ |
| 34 | |
| 35 | public const FIREFOX = 'firefox'; /* Firefox */ |
| 36 | |
| 37 | public const SAFARI = 'safari'; /* Safari */ |
| 38 | |
| 39 | public const CHROME = 'chrome'; /* Chrome */ |
| 40 | |
| 41 | public const OPERA = 'opera'; /* Opera */ |
| 42 | |
| 43 | public const NETSCAPE = 'netscape'; /* Netscape */ |
| 44 | |
| 45 | public const MAXTHON = 'maxthon'; /* Maxthon */ |
| 46 | |
| 47 | public const KONQUEROR = 'konqueror'; /* Konqueror */ |
| 48 | |
| 49 | public const HANDHELD = 'mobile'; /* Handheld Browser */ |
| 50 | |
| 51 | public const BLINK = 'blink'; /* Blink Browser */ |
| 52 | |
| 53 | public const UNKNOWN = 'unknown'; |
| 54 | } |