Ntb\RestAPI\XmlSerializer::serialize
Serializes the given data into a xml string.
Signature
public function serialize(array
$data )
Parameters
$data
— array- the data that should be serialized
Returns
- string
- a xml formatted string