public function __call($method, $params) { $client = $this->getClient(); if (method_exists($client, $method)) { return call_user_func_array([$client, $method], $params); } return parent::__call($method, $params); }