Total Complexity | 1 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | class BinCountry |
||
14 | { |
||
15 | /** |
||
16 | * @var string the country numeric code |
||
17 | */ |
||
18 | public $numeric = ''; |
||
19 | /** |
||
20 | * @var string the 2 char country code |
||
21 | */ |
||
22 | public $alpha2 = ''; |
||
23 | /** |
||
24 | * @var string Country name |
||
25 | */ |
||
26 | public $name = ''; |
||
27 | /** |
||
28 | * @var string the country emoji flag |
||
29 | */ |
||
30 | public $emoji = ''; |
||
31 | /** |
||
32 | * @var string the currency code the card is denominated in |
||
33 | */ |
||
34 | public $currency = ''; |
||
35 | /** |
||
36 | * @var int the latitude of the issuing country |
||
37 | */ |
||
38 | public $latitude = ''; |
||
39 | /** |
||
40 | * @var int the longitude of the issuing country |
||
41 | */ |
||
42 | public $longitude = ''; |
||
43 | |||
44 | /** |
||
45 | * BinCountry constructor. |
||
46 | * |
||
47 | * @param string $numeric |
||
48 | * @param string $alpha2 |
||
49 | * @param string $name |
||
50 | * @param string $emoji |
||
51 | * @param string $currency |
||
52 | * @param int $latitude |
||
53 | * @param int $longitude |
||
54 | */ |
||
55 | 3 | public function __construct($numeric, $alpha2, $name, $emoji, $currency, $latitude, $longitude) |
|
66 |