public function hook($id) { $hook = new ProjectHook($this, $id, $this->getClient()); return $hook->show(); }