PHP Class Deployer\Server\Local

Inheritance: implements Deployer\Server\ServerInterface
Datei anzeigen Open project: elfet/deployer

Public Methods

Method Description
__construct ( Configuration $config = null ) Local constructor.
connect ( )
download ( $local, $remote )
getConfiguration ( ) : Configuration
mustRun ( string $command, callable $callback = null ) : string
run ( $command )
upload ( $local, $remote )

Method Details

__construct() public method

Local constructor.
public __construct ( Configuration $config = null )
$config Configuration

connect() public method

public connect ( )

download() public method

public download ( $local, $remote )

getConfiguration() public method

public getConfiguration ( ) : Configuration
return Configuration

mustRun() public method

public mustRun ( string $command, callable $callback = null ) : string
$command string
$callback callable
return string

run() public method

public run ( $command )

upload() public method

public upload ( $local, $remote )