PHP Class Pantheon\Terminus\Commands\Remote\WPCommand

Inheritance: extends SSHBaseCommand
Datei anzeigen Open project: pantheon-systems/terminus

Protected Properties

Property Type Description
$command
$unavailable_commands
$valid_frameworks

Public Methods

Method Description
wpCommand ( string $site_env_id, array $wp_command ) : string Run an arbitrary WP-CLI commands on a site's environment

Method Details

wpCommand() public method

Run an arbitrary WP-CLI commands on a site's environment
public wpCommand ( string $site_env_id, array $wp_command ) : string
$site_env_id string Name of the environment to run the WP-CLI command on.
$wp_command array WP-CLI command to invoke on the environment
return string Output of the given WP-CLI 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