Ntb\RestAPI\IRestSerializer::serialize
Serialize the data in a specific format like html, json, xml etc.
Signature
public function serialize(array
$data )
Parameters
$data
— array- the data that should be serialized
Returns
- string
- the serialized data