PHP Class CraftCli\Support\SshCommand

Datei anzeigen Open project: rsanchez/craft-cli

Public Properties

Property 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

Public Methods

Method Description
__construct ( string $host, string $command ) Constructor
__toString ( ) : string Compile the shell command

Method Details

__construct() public method

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

__toString() public method

Compile the shell command
public __toString ( ) : string
return string

Property Details

$command public_oe property

Command to exectute over SSH
public string $command
return string

$host public_oe property

SSH host
public string $host
return string

$identityFile public_oe property

SSH identity file path
public string $identityFile
return string

$port public_oe property

SSH port
public string $port
return string

$user public_oe property

SSH user
public string $user
return string