PHP Class Pantheon\Terminus\Commands\Workflow\Info\InfoBaseCommand

Inheritance: extends Pantheon\Terminus\Commands\TerminusCommand, implements Pantheon\Terminus\Site\SiteAwareInterface, use trait Pantheon\Terminus\Site\SiteAwareTrait
Show file Open project: pantheon-systems/terminus

Protected Methods

Method Description
getWorkflow ( string $site_id, string $workflow_id = null ) : Workflow Get the Workflow object

Method Details

getWorkflow() protected method

Get the Workflow object
protected getWorkflow ( string $site_id, string $workflow_id = null ) : Workflow
$site_id string UUID or name of the site to get a workflow of
$workflow_id string The UUID of a specific workflow to retrieve
return Workflow