PHP Class Deployer\Deployer

Inheritance: extends Pimple\Container
ファイルを表示 Open project: elfet/deployer Class Usage Examples

Public Methods

Method Description
__construct ( Application $console, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
__get ( string $name ) : mixed
addConsoleCommands ( ) Transform tasks to console commands.
addDefault ( string $name, array $array )
get ( ) : Deployer
getConsole ( ) : Application
getDefault ( string $name, mixed $default = null ) : mixed
getHelper ( string $name ) : Symfony\Component\Console\Helper\HelperInterface
getInput ( ) : Symfony\Component\Console\Input\InputInterface
getLogger ( ) : Psr\Log\LoggerInterface
getOutput ( ) : Symfony\Component\Console\Output\OutputInterface
getScriptManager ( ) : Deployer\Task\ScriptManager
getStageStrategy ( ) : StageStrategy
hasDefault ( string $name ) : boolean
run ( ) Run console application.
setDefault ( string $name, mixed $value )

Method Details

__construct() public method

public __construct ( Application $console, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$console Deployer\Console\Application
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

__get() public method

public __get ( string $name ) : mixed
$name string
return mixed

addConsoleCommands() public method

Transform tasks to console commands.
public addConsoleCommands ( )

addDefault() public static method

public static addDefault ( string $name, array $array )
$name string
$array array

get() public static method

public static get ( ) : Deployer
return Deployer

getConsole() public method

public getConsole ( ) : Application
return Deployer\Console\Application

getDefault() public static method

public static getDefault ( string $name, mixed $default = null ) : mixed
$name string
$default mixed
return mixed

getHelper() public method

public getHelper ( string $name ) : Symfony\Component\Console\Helper\HelperInterface
$name string
return Symfony\Component\Console\Helper\HelperInterface

getInput() public method

public getInput ( ) : Symfony\Component\Console\Input\InputInterface
return Symfony\Component\Console\Input\InputInterface

getLogger() public method

public getLogger ( ) : Psr\Log\LoggerInterface
return Psr\Log\LoggerInterface

getOutput() public method

public getOutput ( ) : Symfony\Component\Console\Output\OutputInterface
return Symfony\Component\Console\Output\OutputInterface

getScriptManager() public method

public getScriptManager ( ) : Deployer\Task\ScriptManager
return Deployer\Task\ScriptManager

getStageStrategy() public method

public getStageStrategy ( ) : StageStrategy
return Deployer\Stage\StageStrategy

hasDefault() public static method

public static hasDefault ( string $name ) : boolean
$name string
return boolean

run() public method

Run console application.
public run ( )

setDefault() public static method

public static setDefault ( string $name, mixed $value )
$name string
$value mixed