Symfony\Component\DependencyInjection\Dumper\XmlDumper::phpToXml
Converts php types to xml types.
Signature
public function phpToXml(mixed
$value )
Parameters
$value
— mixed- Value to convert
Returns
- string
Errors/Exceptions
-
RuntimeException
- When trying to dump object or resource