PHP Class Pantheon\Terminus\Commands\Branch\ListCommand

Inheritance: extends Pantheon\Terminus\Commands\TerminusCommand, implements Pantheon\Terminus\Site\SiteAwareInterface, use trait Pantheon\Terminus\Site\SiteAwareTrait
Exibir arquivo Open project: pantheon-systems/terminus Class Usage Examples

Public Methods

Method Description
listBranches ( string $site_id ) : Consolidation\OutputFormatters\StructuredData\RowsOfFields List the Git branches for a site

Method Details

listBranches() public method

List the Git branches for a site
public listBranches ( string $site_id ) : Consolidation\OutputFormatters\StructuredData\RowsOfFields
$site_id string The name of the site to list the branches of
return Consolidation\OutputFormatters\StructuredData\RowsOfFields