PHP Class Pantheon\Terminus\Commands\Remote\DrushCommand

Inheritance: extends SSHBaseCommand
Exibir arquivo Open project: pantheon-systems/terminus

Protected Properties

Property Type Description
$command
$unavailable_commands
$valid_frameworks

Public Methods

Method Description
drushCommand ( string $site_env_id, array $drush_command ) : string Run an arbitrary Drush command on a site's environment

Method Details

drushCommand() public method

Run an arbitrary Drush command on a site's environment
public drushCommand ( string $site_env_id, array $drush_command ) : string
$site_env_id string Name of the environment to run the drush command on.
$drush_command array Drush command to invoke on the environment
return string Output of the given drush command executed on the site environment

Property Details

$command protected_oe property

protected $command

$unavailable_commands protected_oe property

protected $unavailable_commands

$valid_frameworks protected_oe property

protected $valid_frameworks