PHP 트레잇 Laravel\Envoy\ConfigurationParser

파일 보기 프로젝트 열기: laravel/envoy

보호된 메소드들

메소드 설명
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