PHP Class Pantheon\Terminus\Commands\Site\CreateCommand

Inheritance: extends SiteCommand, implements League\Container\ContainerAwareInterface, use trait League\Container\ContainerAwareTrait
Show file Open project: pantheon-systems/terminus

Public Methods

Method Description
create ( string $site_name, string $label, string $upstream_id, $options = ['org' => null] ) Create a site

Method Details

create() public method

Create a site
public create ( string $site_name, string $label, string $upstream_id, $options = ['org' => null] )
$site_name string Machine name of the site to create (i.e. the slugified name)
$label string A human-readable label for the new site
$upstream_id string UUID or name of the upstream to use in creating this site