| Total Complexity | 4 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class TaxDocument extends AbstractAgenda |
||
| 18 | { |
||
| 19 | /** @var string[] */ |
||
| 20 | protected array $refElements = []; |
||
| 21 | |||
| 22 | /** @var string[] */ |
||
| 23 | protected array $elements = ['sourceLiquidation']; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | 1 | public function setData(array $data): parent |
|
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | 1 | public function getXML(): \SimpleXMLElement |
|
| 43 | { |
||
| 44 | 1 | $xml = $this->createXML()->addChild('int:taxDocument', '', $this->namespace('int')); |
|
| 45 | |||
| 46 | 1 | $this->addElements($xml, $this->elements, 'int'); |
|
| 47 | |||
| 48 | 1 | return $xml; |
|
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | 1 | protected function configureOptions(Common\OptionsResolver $resolver): void |
|
| 58 | } |
||
| 59 | } |
||
| 60 |