PHP 클래스 Altax\Module\Task\Process\Process

파일 보기 프로젝트 열기: kohkimakimoto/altax 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$node
$runtimeTask

공개 메소드들

메소드 설명
__construct ( $runtimeTask, $node )
get ( $remote, $local )
getLocalInfoPrefix ( )
getNode ( )
getNodeName ( )
getRemoteInfoPrefix ( )
getRuntimeTask ( )
getString ( $remote )
put ( $local, $remote )
putString ( $remote, $contents )
run ( string $commandline, array $options = [] ) : ProcessResult Runing a command on remote server.
runLocally ( string $commandline, array $options = [] ) : ProcessResult Running a command on local machine.

보호된 메소드들

메소드 설명
compileRealCommand ( $commandline, $options, $isLocalExecute = FALSE )
getPid ( )
getSFTP ( )
getSSH ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $runtimeTask, $node )

compileRealCommand() 보호된 메소드

protected compileRealCommand ( $commandline, $options, $isLocalExecute = FALSE )

get() 공개 메소드

public get ( $remote, $local )

getLocalInfoPrefix() 공개 메소드

public getLocalInfoPrefix ( )

getNode() 공개 메소드

public getNode ( )

getNodeName() 공개 메소드

public getNodeName ( )

getPid() 보호된 메소드

protected getPid ( )

getRemoteInfoPrefix() 공개 메소드

public getRemoteInfoPrefix ( )

getRuntimeTask() 공개 메소드

public getRuntimeTask ( )

getSFTP() 보호된 메소드

protected getSFTP ( )

getSSH() 보호된 메소드

protected getSSH ( )

getString() 공개 메소드

public getString ( $remote )

put() 공개 메소드

public put ( $local, $remote )

putString() 공개 메소드

public putString ( $remote, $contents )

run() 공개 메소드

Runing a command on remote server.
public run ( string $commandline, array $options = [] ) : ProcessResult
$commandline string
$options array
리턴 ProcessResult

runLocally() 공개 메소드

Running a command on local machine.
public runLocally ( string $commandline, array $options = [] ) : ProcessResult
$commandline string
$options array
리턴 ProcessResult

프로퍼티 상세

$node 보호되어 있는 프로퍼티

protected $node

$runtimeTask 보호되어 있는 프로퍼티

protected $runtimeTask