PHP 클래스 CraftCli\Command\DbPullCommand

상속: extends Command
파일 보기 프로젝트 열기: rsanchez/craft-cli

보호된 프로퍼티들

프로퍼티 타입 설명
$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 ) : 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

메소드 상세

fire() 보호된 메소드

protected fire ( )

getArguments() 보호된 메소드

protected getArguments ( )

getOptions() 보호된 메소드

protected getOptions ( )

makeMysqlCommand() 보호된 메소드

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

makeSshCommand() 보호된 메소드

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

testLocalCredentials() 보호된 메소드

Test local database credentials
protected testLocalCredentials ( ) : boolean
리턴 boolean

testRemoteCredentials() 보호된 메소드

Test remote database credentials
protected testRemoteCredentials ( ) : boolean
리턴 boolean

testSshCredentials() 보호된 메소드

Test SSH credentials
protected testSshCredentials ( ) : boolean
리턴 boolean

validate() 보호된 메소드

Validate environments/config
protected validate ( ) : void
리턴 void

프로퍼티 상세

$debug 보호되어 있는 프로퍼티

Debugging
protected bool $debug
리턴 boolean

$description 보호되어 있는 프로퍼티

protected $description

$localCredentials 보호되어 있는 프로퍼티

Local database credentials
protected array $localCredentials
리턴 array

$name 보호되어 있는 프로퍼티

protected $name

$remoteCredentials 보호되어 있는 프로퍼티

Remote database credentials
protected array $remoteCredentials
리턴 array

$sshCredentials 보호되어 있는 프로퍼티

SSH credentials
protected array $sshCredentials
리턴 array