PHP Class CraftCli\Command\DbPullCommand

Inheritance: extends Command
Afficher le fichier Open project: rsanchez/craft-cli

Protected Properties

Свойство Type Description
$debug boolean Debugging
$description
$localCredentials array Local database credentials
$name
$remoteCredentials array Remote database credentials
$sshCredentials array SSH credentials

Méthodes protégées

Méthode Description
fire ( )
getArguments ( )
getOptions ( )
makeMysqlCommand ( string $class, array $credentials, string $query = null ) : CraftCli\Support\AbstractMysqlCommand Make a MysqlCommand object
makeSshCommand ( string $command ) : SshCommand Make an SSH command object
testLocalCredentials ( ) : boolean Test local database credentials
testRemoteCredentials ( ) : boolean Test remote database credentials
testSshCredentials ( ) : boolean Test SSH credentials
validate ( ) : void Validate environments/config

Method Details

fire() protected méthode

protected fire ( )

getArguments() protected méthode

protected getArguments ( )

getOptions() protected méthode

protected getOptions ( )

makeMysqlCommand() protected méthode

Make a MysqlCommand object
protected makeMysqlCommand ( string $class, array $credentials, string $query = null ) : CraftCli\Support\AbstractMysqlCommand
$class string
$credentials array
$query string
Résultat CraftCli\Support\AbstractMysqlCommand

makeSshCommand() protected méthode

Make an SSH command object
protected makeSshCommand ( string $command ) : SshCommand
$command string Command to execute over SSH
Résultat CraftCli\Support\SshCommand

testLocalCredentials() protected méthode

Test local database credentials
protected testLocalCredentials ( ) : boolean
Résultat boolean

testRemoteCredentials() protected méthode

Test remote database credentials
protected testRemoteCredentials ( ) : boolean
Résultat boolean

testSshCredentials() protected méthode

Test SSH credentials
protected testSshCredentials ( ) : boolean
Résultat boolean

validate() protected méthode

Validate environments/config
protected validate ( ) : void
Résultat void

Property Details

$debug protected_oe property

Debugging
protected bool $debug
Résultat boolean

$description protected_oe property

protected $description

$localCredentials protected_oe property

Local database credentials
protected array $localCredentials
Résultat array

$name protected_oe property

protected $name

$remoteCredentials protected_oe property

Remote database credentials
protected array $remoteCredentials
Résultat array

$sshCredentials protected_oe property

SSH credentials
protected array $sshCredentials
Résultat array