public function __call($name, $arguments) { $builder = new RequestBuilder(array('domain' => $this->domain, 'basePath' => $this->basePath, 'method' => $name, 'guzzleOptions' => $this->guzzleOptions)); return $builder->withHeaders($this->headers); }