PHP Интерфейс Deployer\Server\ServerInterface

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

Открытые методы

Метод Описание
connect ( ) Connect to remote server.
download ( string $local, string $remote ) Download file from remote server.
getConfiguration ( ) : Configuration
run ( string $command ) : string Run shell command on remote server.
upload ( string $local, string $remote ) Upload file to remote server.

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

connect() публичный Метод

Connect to remote server.
public connect ( )

download() публичный Метод

Download file from remote server.
public download ( string $local, string $remote )
$local string Where to download file on local machine.
$remote string Which file to download from remote server.

getConfiguration() публичный Метод

public getConfiguration ( ) : Configuration
Результат Configuration

run() публичный Метод

Run shell command on remote server.
public run ( string $command ) : string
$command string
Результат string Output of command.

upload() публичный Метод

Upload file to remote server.
public upload ( string $local, string $remote )
$local string Local path to file.
$remote string Remote path where upload.