You are here

public function HttpClientBaseFormatter::__construct in Http Client 7.2

Same name and namespace in other branches
  1. 6.2 includes/HttpClient.inc \HttpClientBaseFormatter::__construct()

File

includes/HttpClient.inc, line 328

Class

HttpClientBaseFormatter
A base formatter to format php and json.

Code

public function __construct($format = self::FORMAT_PHP) {
  $this->format = $format;
}