Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class RegimenFiscal extends AbstractEntryIdentifiable |
||
10 | { |
||
11 | /** @var bool */ |
||
12 | private $aplicaFisica; |
||
13 | |||
14 | /** @var bool */ |
||
15 | private $aplicaMoral; |
||
16 | |||
17 | 6 | public function __construct( |
|
18 | string $id, |
||
19 | string $texto, |
||
20 | bool $aplicaFisica, |
||
21 | bool $aplicaMoral, |
||
22 | int $vigenteDesde, |
||
23 | int $vigenteHasta |
||
24 | ) { |
||
25 | 6 | parent::__construct($id, $texto, $vigenteDesde, $vigenteHasta); |
|
26 | 6 | $this->aplicaFisica = $aplicaFisica; |
|
27 | 6 | $this->aplicaMoral = $aplicaMoral; |
|
28 | } |
||
29 | |||
30 | 3 | public function aplicaFisica(): bool |
|
31 | { |
||
32 | 3 | return $this->aplicaFisica; |
|
33 | } |
||
34 | |||
35 | 3 | public function aplicaMoral(): bool |
|
38 | } |
||
39 | } |
||
40 |