| 1 | <?php |
||
| 26 | class XmlMapper |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * Converts a string to a SimpleXMLElement. |
||
| 30 | * |
||
| 31 | * @param string $xml The string to convert, or `null` |
||
| 32 | * @return \SimpleXmlElement The XML version |
||
| 33 | * @throws \Minotaur\Net\Exception\Illegible If the string is not XML |
||
| 34 | */ |
||
| 35 | public function toXml(?string $xml): \SimpleXMLElement |
||
| 50 | } |
||
| 51 |