| Total Complexity | 6 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Location { |
||
| 8 | private $id; |
||
| 9 | private $continent_code; |
||
| 10 | private $name; |
||
| 11 | private $country_iso2; |
||
| 12 | private $country_iso3; |
||
| 13 | private $type; |
||
| 14 | |||
| 15 | public function __construct($id, $continent_code, $name, $country_iso2, $country_iso3, $type) { |
||
| 16 | $this->id = $id; |
||
| 17 | $this->continent_code = $continent_code; |
||
| 18 | $this->name = $name; |
||
| 19 | $this->country_iso2 = $country_iso2; |
||
| 20 | $this->country_iso3 = $country_iso3; |
||
| 21 | $this->type = $type; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getId() { |
||
| 25 | return $this->id; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getContinentCode() { |
||
| 29 | return $this->continent_code; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getName() { |
||
| 33 | return $this->name; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getCountryISO2() { |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getType() { |
||
| 42 | } |
||
| 43 | } |
||
| 44 |