PHP Class CraftCli\Support\SshCommand

Afficher le fichier Open project: rsanchez/craft-cli

Méthodes publiques

Свойство Type Description
$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

Méthodes publiques

Méthode Description
__construct ( string $host, string $command ) Constructor
__toString ( ) : string Compile the shell command

Method Details

__construct() public méthode

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

__toString() public méthode

Compile the shell command
public __toString ( ) : string
Résultat string

Property Details

$command public_oe property

Command to exectute over SSH
public string $command
Résultat string

$host public_oe property

SSH host
public string $host
Résultat string

$identityFile public_oe property

SSH identity file path
public string $identityFile
Résultat string

$port public_oe property

SSH port
public string $port
Résultat string

$user public_oe property

SSH user
public string $user
Résultat string