Свойство | Тип | Описание | |
---|---|---|---|
$debug | boolean | Debugging | |
$description | |||
$localCredentials | array | Local database credentials | |
$name | |||
$remoteCredentials | array | Remote database credentials | |
$sshCredentials | array | SSH credentials |
Метод | Описание | |
---|---|---|
fire ( ) | ||
getArguments ( ) | ||
getOptions ( ) | ||
makeMysqlCommand ( string $class, array $credentials, string $query = null ) : CraftCli\Support\AbstractMysqlCommand | Make a MysqlCommand object | |
makeSshCommand ( string $command ) : |
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 |
protected makeSshCommand ( string $command ) : |
||
$command | string | Command to execute over SSH |
Результат |
protected testLocalCredentials ( ) : boolean | ||
Результат | boolean |
protected testRemoteCredentials ( ) : boolean | ||
Результат | boolean |
protected testSshCredentials ( ) : boolean | ||
Результат | boolean |
protected array $localCredentials | ||
Результат | array |
protected array $remoteCredentials | ||
Результат | array |