public function test($input) { try { $res = $this->client->get_echo($input); } catch (Exception $e) { $res = $e->getMessage(); } return $res; }