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