public function __construct($endpoint = '', $format = Format::json) { $this->_endpoint = $endpoint; $this->_format = $format; }