/** * @param string $projectUid {@min 1} {@max 32} * * @author Brayan Pereyra (Cochalo) <*****@*****.**> * @copyright Colosa - Bolivia * @return array * * @url GET /:projectUid/triggers */ public function doGetTriggers($projectUid) { try { $trigger = new \ProcessMaker\BusinessModel\Trigger(); $response = $trigger->getTriggers($projectUid); return $response; } catch (\Exception $e) { throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()); } }