| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class Localidad implements EntryWithVigencias |
||
| 11 | { |
||
| 12 | use EntryWithVigenciasTrait; |
||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | private $codigo; |
||
| 16 | |||
| 17 | /** @var string */ |
||
| 18 | private $estado; |
||
| 19 | |||
| 20 | /** @var string*/ |
||
| 21 | private $texto; |
||
| 22 | |||
| 23 | 7 | public function __construct(string $codigo, string $estado, string $texto, int $vigenteDesde, int $vigenteHasta) |
|
| 29 | } |
||
| 30 | |||
| 31 | 6 | public function codigo(): string |
|
| 32 | { |
||
| 33 | 6 | return $this->codigo; |
|
| 34 | } |
||
| 35 | |||
| 36 | 6 | public function estado(): string |
|
| 39 | } |
||
| 40 | |||
| 41 | 3 | public function texto(): string |
|
| 46 |