/** * get all project hooks * @param [integer] $id project id * @return [type] [description] */ public function projectHooks($id) { $client = new HttpClient(); $hooks = $client->request('projects/' . $id . '/hooks'); return $hooks; }