public getWorkflows ( ) : |
||
Результат |
/** * Changes the role of the given member * * @param string $role Desired role for this organization * @return Workflow */ public function setRole($role) { $workflow = $this->site->getWorkflows()->create('update_site_organization_membership', ['params' => ['organization_id' => $this->id, 'role' => $role]]); return $workflow; }
/** * Enables New Relic * * @return Workflow */ public function enable() { return $this->site->getWorkflows()->create('enable_new_relic_for_site', ['site' => $this->site->id]); }