| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class ClaveUnidad extends AbstractEntryIdentifiable |
||
| 10 | { |
||
| 11 | /** @var string */ |
||
| 12 | private $descripcion; |
||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | private $nota; |
||
| 16 | |||
| 17 | /** @var string */ |
||
| 18 | private $simbolo; |
||
| 19 | |||
| 20 | 2 | public function __construct( |
|
| 21 | string $id, |
||
| 22 | string $texto, |
||
| 23 | string $descripcion, |
||
| 24 | string $nota, |
||
| 25 | string $simbolo, |
||
| 26 | int $vigenteDesde, |
||
| 27 | int $vigenteHasta |
||
| 28 | ) { |
||
| 29 | 2 | parent::__construct($id, $texto, $vigenteDesde, $vigenteHasta); |
|
| 30 | 2 | $this->descripcion = $descripcion; |
|
| 31 | 2 | $this->nota = $nota; |
|
| 32 | 2 | $this->simbolo = $simbolo; |
|
| 33 | } |
||
| 34 | |||
| 35 | 1 | public function descripcion(): string |
|
| 36 | { |
||
| 37 | 1 | return $this->descripcion; |
|
| 38 | } |
||
| 39 | |||
| 40 | 1 | public function nota(): string |
|
| 41 | { |
||
| 42 | 1 | return $this->nota; |
|
| 43 | } |
||
| 44 | |||
| 45 | 1 | public function simbolo(): string |
|
| 48 | } |
||
| 49 | } |
||
| 50 |