| Total Complexity | 5 |
| Total Lines | 58 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class Country { |
||
| 23 | /** |
||
| 24 | * Country name. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private $name; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Issuers for this country. |
||
| 32 | * |
||
| 33 | * @var array<int, Issuer> |
||
| 34 | */ |
||
| 35 | private $issuers; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Constructs and initializes an country |
||
| 39 | */ |
||
| 40 | public function __construct() { |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Get the country name. |
||
| 46 | * |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function get_name() { |
||
| 50 | return $this->name; |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Set the country name. |
||
| 55 | * |
||
| 56 | * @param string $name Name. |
||
| 57 | * @return void |
||
| 58 | */ |
||
| 59 | public function set_name( $name ) { |
||
| 60 | $this->name = $name; |
||
| 61 | } |
||
| 62 | |||
| 63 | /** |
||
| 64 | * Add issuer to this country. |
||
| 65 | * |
||
| 66 | * @param Issuer $issuer Issuer. |
||
| 67 | * @return void |
||
| 68 | */ |
||
| 69 | public function add_issuer( Issuer $issuer ) { |
||
| 71 | } |
||
| 72 | |||
| 73 | /** |
||
| 74 | * Get the issuers within this country. |
||
| 75 | * |
||
| 76 | * @return array<int, Issuer> |
||
| 77 | */ |
||
| 78 | public function get_issuers() { |
||
| 80 | } |
||
| 81 | } |
||
| 82 |