PHP Trait Laravel\Envoy\ConfigurationParser

Afficher le fichier Open project: laravel/envoy

Méthodes protégées

Méthode Description
getConfiguredServer ( string $host ) : string | null Get the configured server from the SSH config.
getHomeDirectory ( string $user ) : string | null Get the home directory for the user based on OS.
getSshConfig ( string $user ) : SSHConfigFile | null Get the SSH configuration file instance.
getSystemUser ( ) : string Get the system user.
isValidIp ( string $value ) : boolean Determine if the given value is a valid IP.

Method Details

getConfiguredServer() protected méthode

Get the configured server from the SSH config.
protected getConfiguredServer ( string $host ) : string | null
$host string
Résultat string | null

getHomeDirectory() protected méthode

Get the home directory for the user based on OS.
protected getHomeDirectory ( string $user ) : string | null
$user string
Résultat string | null

getSshConfig() protected méthode

Get the SSH configuration file instance.
protected getSshConfig ( string $user ) : SSHConfigFile | null
$user string
Résultat SSHConfigFile | null

getSystemUser() protected méthode

Get the system user.
protected getSystemUser ( ) : string
Résultat string

isValidIp() protected méthode

Determine if the given value is a valid IP.
protected isValidIp ( string $value ) : boolean
$value string
Résultat boolean