You are here

public function HttpClientCompositeFormatter::unserialize in Http Client 6.2

Same name and namespace in other branches
  1. 7.2 includes/HttpClient.inc \HttpClientCompositeFormatter::unserialize()

Unserializes data in the implemented format.

Parameters

string $data: The data that should be unserialized.

Return value

mixed The unserialized data.

Overrides HttpClientFormatter::unserialize

File

includes/HttpClient.inc, line 442

Class

HttpClientCompositeFormatter
A utility formatter to use for creating assymetrical http client formatters.

Code

public function unserialize($data) {
  return $this->accept
    ->unserialize($data);
}