Method | Description | |
---|---|---|
decode ( string $response ) : array | Decodes the passed string and creates array from it | |
encode ( array $data ) : string | Formats the passed data for example a JsonResponse will encode to json, XMLResponse will encode to xml etc |