Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| ISO3166NumEnum | 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\Localization |
| 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\Localization; |
| 16 | |
| 17 | use phpOMS\Stdlib\Base\Enum; |
| 18 | |
| 19 | /** |
| 20 | * Country codes ISO 3166-1 list. |
| 21 | * |
| 22 | * @package phpOMS\Localization |
| 23 | * @license OMS License 2.0 |
| 24 | * @link https://jingga.app |
| 25 | * @since 1.0.0 |
| 26 | */ |
| 27 | class ISO3166NumEnum extends Enum |
| 28 | { |
| 29 | public const _AFG = '004'; |
| 30 | |
| 31 | public const _ALA = '248'; |
| 32 | |
| 33 | public const _ALB = '008'; |
| 34 | |
| 35 | public const _DZA = '012'; |
| 36 | |
| 37 | public const _ASM = '016'; |
| 38 | |
| 39 | public const _AND = '020'; |
| 40 | |
| 41 | public const _AGO = '024'; |
| 42 | |
| 43 | public const _AIA = '660'; |
| 44 | |
| 45 | public const _ATA = '010'; |
| 46 | |
| 47 | public const _ATG = '028'; |
| 48 | |
| 49 | public const _ARG = '032'; |
| 50 | |
| 51 | public const _ARM = '051'; |
| 52 | |
| 53 | public const _ABW = '533'; |
| 54 | |
| 55 | public const _AUS = '036'; |
| 56 | |
| 57 | public const _AUT = '040'; |
| 58 | |
| 59 | public const _AZE = '031'; |
| 60 | |
| 61 | public const _BHS = '044'; |
| 62 | |
| 63 | public const _BHR = '048'; |
| 64 | |
| 65 | public const _BGD = '050'; |
| 66 | |
| 67 | public const _BRB = '052'; |
| 68 | |
| 69 | public const _BLR = '112'; |
| 70 | |
| 71 | public const _BEL = '056'; |
| 72 | |
| 73 | public const _BLZ = '084'; |
| 74 | |
| 75 | public const _BEN = '204'; |
| 76 | |
| 77 | public const _BMU = '060'; |
| 78 | |
| 79 | public const _BTN = '064'; |
| 80 | |
| 81 | public const _BOL = '068'; |
| 82 | |
| 83 | public const _BES = '535'; |
| 84 | |
| 85 | public const _BIH = '070'; |
| 86 | |
| 87 | public const _BWA = '072'; |
| 88 | |
| 89 | public const _BVT = '074'; |
| 90 | |
| 91 | public const _BRA = '076'; |
| 92 | |
| 93 | public const _IOT = '086'; |
| 94 | |
| 95 | public const _BRN = '096'; |
| 96 | |
| 97 | public const _BGR = '100'; |
| 98 | |
| 99 | public const _BFA = '854'; |
| 100 | |
| 101 | public const _BDI = '108'; |
| 102 | |
| 103 | public const _CPV = '132'; |
| 104 | |
| 105 | public const _KHM = '116'; |
| 106 | |
| 107 | public const _CMR = '120'; |
| 108 | |
| 109 | public const _CAN = '124'; |
| 110 | |
| 111 | public const _CYM = '136'; |
| 112 | |
| 113 | public const _CAF = '140'; |
| 114 | |
| 115 | public const _TCD = '148'; |
| 116 | |
| 117 | public const _CHL = '152'; |
| 118 | |
| 119 | public const _CHN = '156'; |
| 120 | |
| 121 | public const _CXR = '162'; |
| 122 | |
| 123 | public const _CCK = '166'; |
| 124 | |
| 125 | public const _COL = '170'; |
| 126 | |
| 127 | public const _COM = '174'; |
| 128 | |
| 129 | public const _COG = '178'; |
| 130 | |
| 131 | public const _COD = '180'; |
| 132 | |
| 133 | public const _COK = '184'; |
| 134 | |
| 135 | public const _CRI = '188'; |
| 136 | |
| 137 | public const _CIV = '384'; |
| 138 | |
| 139 | public const _HRV = '191'; |
| 140 | |
| 141 | public const _CUB = '192'; |
| 142 | |
| 143 | public const _CUW = '531'; |
| 144 | |
| 145 | public const _CYP = '196'; |
| 146 | |
| 147 | public const _CZE = '203'; |
| 148 | |
| 149 | public const _DNK = '208'; |
| 150 | |
| 151 | public const _DJI = '262'; |
| 152 | |
| 153 | public const _DMA = '212'; |
| 154 | |
| 155 | public const _DOM = '214'; |
| 156 | |
| 157 | public const _ECU = '218'; |
| 158 | |
| 159 | public const _EGY = '818'; |
| 160 | |
| 161 | public const _SLV = '222'; |
| 162 | |
| 163 | public const _GNQ = '226'; |
| 164 | |
| 165 | public const _ERI = '232'; |
| 166 | |
| 167 | public const _EST = '233'; |
| 168 | |
| 169 | public const _ETH = '231'; |
| 170 | |
| 171 | public const _FLK = '238'; |
| 172 | |
| 173 | public const _FRO = '234'; |
| 174 | |
| 175 | public const _FJI = '242'; |
| 176 | |
| 177 | public const _FIN = '246'; |
| 178 | |
| 179 | public const _FRA = '250'; |
| 180 | |
| 181 | public const _GUF = '254'; |
| 182 | |
| 183 | public const _PYF = '258'; |
| 184 | |
| 185 | public const _ATF = '260'; |
| 186 | |
| 187 | public const _GAB = '266'; |
| 188 | |
| 189 | public const _GMB = '270'; |
| 190 | |
| 191 | public const _GEO = '268'; |
| 192 | |
| 193 | public const _DEU = '276'; |
| 194 | |
| 195 | public const _GHA = '288'; |
| 196 | |
| 197 | public const _GIB = '292'; |
| 198 | |
| 199 | public const _GRC = '300'; |
| 200 | |
| 201 | public const _GRL = '304'; |
| 202 | |
| 203 | public const _GRD = '308'; |
| 204 | |
| 205 | public const _GLP = '312'; |
| 206 | |
| 207 | public const _GUM = '316'; |
| 208 | |
| 209 | public const _GTM = '320'; |
| 210 | |
| 211 | public const _GGY = '831'; |
| 212 | |
| 213 | public const _GIN = '324'; |
| 214 | |
| 215 | public const _GNB = '624'; |
| 216 | |
| 217 | public const _GUY = '328'; |
| 218 | |
| 219 | public const _HTI = '332'; |
| 220 | |
| 221 | public const _HMD = '334'; |
| 222 | |
| 223 | public const _VAT = '336'; |
| 224 | |
| 225 | public const _HND = '340'; |
| 226 | |
| 227 | public const _HKG = '344'; |
| 228 | |
| 229 | public const _HUN = '348'; |
| 230 | |
| 231 | public const _ISL = '352'; |
| 232 | |
| 233 | public const _IND = '356'; |
| 234 | |
| 235 | public const _IDN = '360'; |
| 236 | |
| 237 | public const _IRN = '364'; |
| 238 | |
| 239 | public const _IRQ = '368'; |
| 240 | |
| 241 | public const _IRL = '372'; |
| 242 | |
| 243 | public const _IMN = '833'; |
| 244 | |
| 245 | public const _ISR = '376'; |
| 246 | |
| 247 | public const _ITA = '380'; |
| 248 | |
| 249 | public const _JAM = '388'; |
| 250 | |
| 251 | public const _JPN = '392'; |
| 252 | |
| 253 | public const _JEY = '832'; |
| 254 | |
| 255 | public const _JOR = '400'; |
| 256 | |
| 257 | public const _KAZ = '398'; |
| 258 | |
| 259 | public const _KEN = '404'; |
| 260 | |
| 261 | public const _KIR = '296'; |
| 262 | |
| 263 | public const _PRK = '408'; |
| 264 | |
| 265 | public const _KOR = '410'; |
| 266 | |
| 267 | public const _KWT = '414'; |
| 268 | |
| 269 | public const _KGZ = '417'; |
| 270 | |
| 271 | public const _LAO = '418'; |
| 272 | |
| 273 | public const _LVA = '428'; |
| 274 | |
| 275 | public const _LBN = '422'; |
| 276 | |
| 277 | public const _LSO = '426'; |
| 278 | |
| 279 | public const _LBR = '430'; |
| 280 | |
| 281 | public const _LBY = '434'; |
| 282 | |
| 283 | public const _LIE = '438'; |
| 284 | |
| 285 | public const _LTU = '440'; |
| 286 | |
| 287 | public const _LUX = '442'; |
| 288 | |
| 289 | public const _MAC = '446'; |
| 290 | |
| 291 | public const _MKD = '807'; |
| 292 | |
| 293 | public const _MDG = '450'; |
| 294 | |
| 295 | public const _MWI = '454'; |
| 296 | |
| 297 | public const _MYS = '458'; |
| 298 | |
| 299 | public const _MDV = '462'; |
| 300 | |
| 301 | public const _MLI = '466'; |
| 302 | |
| 303 | public const _MLT = '470'; |
| 304 | |
| 305 | public const _MHL = '584'; |
| 306 | |
| 307 | public const _MTQ = '474'; |
| 308 | |
| 309 | public const _MRT = '478'; |
| 310 | |
| 311 | public const _MUS = '480'; |
| 312 | |
| 313 | public const _MYT = '175'; |
| 314 | |
| 315 | public const _MEX = '484'; |
| 316 | |
| 317 | public const _FSM = '583'; |
| 318 | |
| 319 | public const _MDA = '498'; |
| 320 | |
| 321 | public const _MCO = '492'; |
| 322 | |
| 323 | public const _MNG = '496'; |
| 324 | |
| 325 | public const _MNE = '499'; |
| 326 | |
| 327 | public const _MSR = '500'; |
| 328 | |
| 329 | public const _MAR = '504'; |
| 330 | |
| 331 | public const _MOZ = '508'; |
| 332 | |
| 333 | public const _MMR = '104'; |
| 334 | |
| 335 | public const _NAM = '516'; |
| 336 | |
| 337 | public const _NRU = '520'; |
| 338 | |
| 339 | public const _NPL = '524'; |
| 340 | |
| 341 | public const _NLD = '528'; |
| 342 | |
| 343 | public const _NCL = '540'; |
| 344 | |
| 345 | public const _NZL = '554'; |
| 346 | |
| 347 | public const _NIC = '558'; |
| 348 | |
| 349 | public const _NER = '562'; |
| 350 | |
| 351 | public const _NGA = '566'; |
| 352 | |
| 353 | public const _NIU = '570'; |
| 354 | |
| 355 | public const _NFK = '574'; |
| 356 | |
| 357 | public const _MNP = '580'; |
| 358 | |
| 359 | public const _NOR = '578'; |
| 360 | |
| 361 | public const _OMN = '512'; |
| 362 | |
| 363 | public const _PAK = '586'; |
| 364 | |
| 365 | public const _PLW = '585'; |
| 366 | |
| 367 | public const _PSE = '275'; |
| 368 | |
| 369 | public const _PAN = '591'; |
| 370 | |
| 371 | public const _PNG = '598'; |
| 372 | |
| 373 | public const _PRY = '600'; |
| 374 | |
| 375 | public const _PER = '604'; |
| 376 | |
| 377 | public const _PHL = '608'; |
| 378 | |
| 379 | public const _PCN = '612'; |
| 380 | |
| 381 | public const _POL = '616'; |
| 382 | |
| 383 | public const _PRT = '620'; |
| 384 | |
| 385 | public const _PRI = '630'; |
| 386 | |
| 387 | public const _QAT = '634'; |
| 388 | |
| 389 | public const _REU = '638'; |
| 390 | |
| 391 | public const _ROU = '642'; |
| 392 | |
| 393 | public const _RUS = '643'; |
| 394 | |
| 395 | public const _RWA = '646'; |
| 396 | |
| 397 | public const _BLM = '652'; |
| 398 | |
| 399 | public const _SHN = '654'; |
| 400 | |
| 401 | public const _KNA = '659'; |
| 402 | |
| 403 | public const _LCA = '662'; |
| 404 | |
| 405 | public const _MAF = '663'; |
| 406 | |
| 407 | public const _SPM = '666'; |
| 408 | |
| 409 | public const _VCT = '670'; |
| 410 | |
| 411 | public const _WSM = '882'; |
| 412 | |
| 413 | public const _SMR = '674'; |
| 414 | |
| 415 | public const _STP = '678'; |
| 416 | |
| 417 | public const _SAU = '682'; |
| 418 | |
| 419 | public const _SEN = '686'; |
| 420 | |
| 421 | public const _SRB = '688'; |
| 422 | |
| 423 | public const _SYC = '690'; |
| 424 | |
| 425 | public const _SLE = '694'; |
| 426 | |
| 427 | public const _SGP = '702'; |
| 428 | |
| 429 | public const _SXM = '534'; |
| 430 | |
| 431 | public const _SVK = '703'; |
| 432 | |
| 433 | public const _SVN = '705'; |
| 434 | |
| 435 | public const _SLB = '090'; |
| 436 | |
| 437 | public const _SOM = '706'; |
| 438 | |
| 439 | public const _ZAF = '710'; |
| 440 | |
| 441 | public const _SGS = '239'; |
| 442 | |
| 443 | public const _SSD = '728'; |
| 444 | |
| 445 | public const _ESP = '724'; |
| 446 | |
| 447 | public const _LKA = '144'; |
| 448 | |
| 449 | public const _SDN = '729'; |
| 450 | |
| 451 | public const _SUR = '740'; |
| 452 | |
| 453 | public const _SJM = '744'; |
| 454 | |
| 455 | public const _SWZ = '748'; |
| 456 | |
| 457 | public const _SWE = '752'; |
| 458 | |
| 459 | public const _CHE = '756'; |
| 460 | |
| 461 | public const _SYR = '760'; |
| 462 | |
| 463 | public const _TWN = '158'; |
| 464 | |
| 465 | public const _TJK = '762'; |
| 466 | |
| 467 | public const _TZA = '834'; |
| 468 | |
| 469 | public const _THA = '764'; |
| 470 | |
| 471 | public const _TLS = '626'; |
| 472 | |
| 473 | public const _TGO = '768'; |
| 474 | |
| 475 | public const _TKL = '772'; |
| 476 | |
| 477 | public const _TON = '776'; |
| 478 | |
| 479 | public const _TTO = '780'; |
| 480 | |
| 481 | public const _TUN = '788'; |
| 482 | |
| 483 | public const _TUR = '792'; |
| 484 | |
| 485 | public const _TKM = '795'; |
| 486 | |
| 487 | public const _TCA = '796'; |
| 488 | |
| 489 | public const _TUV = '798'; |
| 490 | |
| 491 | public const _UGA = '800'; |
| 492 | |
| 493 | public const _UKR = '804'; |
| 494 | |
| 495 | public const _ARE = '784'; |
| 496 | |
| 497 | public const _GBR = '826'; |
| 498 | |
| 499 | public const _USA = '840'; |
| 500 | |
| 501 | public const _UMI = '581'; |
| 502 | |
| 503 | public const _URY = '858'; |
| 504 | |
| 505 | public const _UZB = '860'; |
| 506 | |
| 507 | public const _VUT = '548'; |
| 508 | |
| 509 | public const _VEN = '862'; |
| 510 | |
| 511 | public const _VNM = '704'; |
| 512 | |
| 513 | public const _VGB = '092'; |
| 514 | |
| 515 | public const _VIR = '850'; |
| 516 | |
| 517 | public const _WLF = '876'; |
| 518 | |
| 519 | public const _ESH = '732'; |
| 520 | |
| 521 | public const _YEM = '887'; |
| 522 | |
| 523 | public const _ZMB = '894'; |
| 524 | |
| 525 | public const _ZWE = '716'; |
| 526 | |
| 527 | public const _XXK = '688'; // Same as Serbia, since there is no code for Kosovo |
| 528 | |
| 529 | public const _XXX = '000'; |
| 530 | |
| 531 | use ISO3166Trait; |
| 532 | } |