PHP Трейт Laravel\Envoy\ConfigurationParser

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

Защищенные методы

Метод Описание
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.

Описание методов

getConfiguredServer() защищенный Метод

Get the configured server from the SSH config.
protected getConfiguredServer ( string $host ) : string | null
$host string
Результат string | null

getHomeDirectory() защищенный Метод

Get the home directory for the user based on OS.
protected getHomeDirectory ( string $user ) : string | null
$user string
Результат string | null

getSshConfig() защищенный Метод

Get the SSH configuration file instance.
protected getSshConfig ( string $user ) : SSHConfigFile | null
$user string
Результат SSHConfigFile | null

getSystemUser() защищенный Метод

Get the system user.
protected getSystemUser ( ) : string
Результат string

isValidIp() защищенный Метод

Determine if the given value is a valid IP.
protected isValidIp ( string $value ) : boolean
$value string
Результат boolean