Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| UriScheme | 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\Uri |
| 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\Uri; |
| 16 | |
| 17 | use phpOMS\Stdlib\Base\Enum; |
| 18 | |
| 19 | /** |
| 20 | * Uri scheme. |
| 21 | * |
| 22 | * @package phpOMS\Uri |
| 23 | * @license OMS License 2.0 |
| 24 | * @link https://jingga.app |
| 25 | * @since 1.0.0 |
| 26 | */ |
| 27 | abstract class UriScheme extends Enum |
| 28 | { |
| 29 | public const HTTP = 0; /* Http */ |
| 30 | |
| 31 | public const FILE = 1; /* File */ |
| 32 | |
| 33 | public const MAILTO = 2; /* Mail */ |
| 34 | |
| 35 | public const FTP = 3; /* FTP */ |
| 36 | |
| 37 | public const HTTPS = 4; /* Https */ |
| 38 | |
| 39 | public const IRC = 5; /* IRC */ |
| 40 | |
| 41 | public const TEL = 6; /* Telephone */ |
| 42 | |
| 43 | public const TELNET = 7; /* Telnet */ |
| 44 | |
| 45 | public const SSH = 8; /* SSH */ |
| 46 | |
| 47 | public const SKYPE = 9; /* Skype */ |
| 48 | |
| 49 | public const SSL = 10; /* SSL */ |
| 50 | |
| 51 | public const NFS = 11; /* Network File System */ |
| 52 | |
| 53 | public const GEO = 12; /* Geo location */ |
| 54 | |
| 55 | public const MARKET = 13; /* Android Market */ |
| 56 | |
| 57 | public const ITMS = 14; /* iTunes */ |
| 58 | } |