PHP 클래스 CraftCli\Support\SshCommand

파일 보기 프로젝트 열기: rsanchez/craft-cli

공개 프로퍼티들

프로퍼티 타입 설명
$command string Command to exectute over SSH
$host string SSH host
$identityFile string SSH identity file path
$port string SSH port
$user string SSH user

공개 메소드들

메소드 설명
__construct ( string $host, string $command ) Constructor
__toString ( ) : string Compile the shell command

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( string $host, string $command )
$host string SSH host
$command string Command to exectute over SSH

__toString() 공개 메소드

Compile the shell command
public __toString ( ) : string
리턴 string

프로퍼티 상세

$command 공개적으로 프로퍼티

Command to exectute over SSH
public string $command
리턴 string

$host 공개적으로 프로퍼티

SSH host
public string $host
리턴 string

$identityFile 공개적으로 프로퍼티

SSH identity file path
public string $identityFile
리턴 string

$port 공개적으로 프로퍼티

SSH port
public string $port
리턴 string

$user 공개적으로 프로퍼티

SSH user
public string $user
리턴 string