| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | 2 | public function getXML(): \SimpleXMLElement |
|
| 37 | { |
||
| 38 | 2 | $xml = $this->createXML()->addChild('prn:record', '', $this->namespace('prn')); |
|
| 39 | 2 | $xml->addAttribute('agenda', strval($this->data->agenda)); |
|
| 40 | |||
| 41 | 2 | $this->addElements($xml, $this->getDataElements(), 'prn'); |
|
| 42 | |||
| 43 | 2 | return $xml; |
|
| 44 | } |
||
| 54 |