| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 24 | // process filter |
||
| 25 | 3 | $filter = new Filter($this->namespacesPaths, $this->sanitizeEncoding, $this->companyRegistrationNumber, $this->resolveOptions, $this->normalizerFactory); |
|
| 26 | 3 | $data['filter'] = $filter->setDirectionalVariable($this->useOneDirectionalVariables)->setData($data['filter']); |
|
| 27 | |||
| 28 | 3 | return parent::setData($data); |
|
|
|
|||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | 2 | public function getXML(): \SimpleXMLElement |
|
| 35 | { |
||
| 36 | 2 | $xml = $this->createXML()->addChild('prn:record', '', $this->namespace('prn')); |
|
| 56 |