PHP Класс CraftCli\Support\SshCommand

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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