Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class Colonia implements BaseEntry |
||
10 | { |
||
11 | /** @var string */ |
||
12 | private $colonia; |
||
13 | |||
14 | /** @var string */ |
||
15 | private $codigoPostal; |
||
16 | |||
17 | /** @var string*/ |
||
18 | private $asentamiento; |
||
19 | |||
20 | 8 | public function __construct(string $colonia, string $codigoPostal, string $asentamiento) |
|
25 | } |
||
26 | |||
27 | 8 | public function colonia(): string |
|
28 | { |
||
29 | 8 | return $this->colonia; |
|
30 | } |
||
31 | |||
32 | 5 | public function codigoPostal(): string |
|
33 | { |
||
34 | 5 | return $this->codigoPostal; |
|
35 | } |
||
36 | |||
37 | 4 | public function asentamiento(): string |
|
40 | } |
||
41 | } |
||
42 |