PHP Class Altax\Module\Task\Process\Process

Afficher le fichier Open project: kohkimakimoto/altax Class Usage Examples

Protected Properties

Свойство Type Description
$node
$runtimeTask

Méthodes publiques

Méthode Description
__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.

Méthodes protégées

Méthode Description
compileRealCommand ( $commandline, $options, $isLocalExecute = FALSE )
getPid ( )
getSFTP ( )
getSSH ( )

Method Details

__construct() public méthode

public __construct ( $runtimeTask, $node )

compileRealCommand() protected méthode

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

get() public méthode

public get ( $remote, $local )

getLocalInfoPrefix() public méthode

public getLocalInfoPrefix ( )

getNode() public méthode

public getNode ( )

getNodeName() public méthode

public getNodeName ( )

getPid() protected méthode

protected getPid ( )

getRemoteInfoPrefix() public méthode

public getRemoteInfoPrefix ( )

getRuntimeTask() public méthode

public getRuntimeTask ( )

getSFTP() protected méthode

protected getSFTP ( )

getSSH() protected méthode

protected getSSH ( )

getString() public méthode

public getString ( $remote )

put() public méthode

public put ( $local, $remote )

putString() public méthode

public putString ( $remote, $contents )

run() public méthode

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

runLocally() public méthode

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

Property Details

$node protected_oe property

protected $node

$runtimeTask protected_oe property

protected $runtimeTask