public create ( string[] $params = [] ) : Workflow | ||
$params | string[] | Options for the new site, elements as follow: string label The site's human-friendly name string site_name The site's name string organization_id Organization to which this site belongs' UUID |
return | Workflow |
public function create($params = [])
{
$workflow = $this->getUser()->getWorkflows()->create('create_site', compact('params'));
return $workflow;
}