PHP Класс Rocketeer\Rocketeer

Автор: Maxime Fabre ([email protected])
Наследование: use trait Rocketeer\Traits\HasLocator
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$local Global local mode.

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

Метод Описание
getApplicationName ( ) : string Get the name of the application to deploy.
getDetectedStage ( string $application = 'application', string | null $path = null ) : string | false Returns what stage Rocketeer thinks he's in.
getOption ( string $option ) : string | array | Closure Get an option from Rocketeer's config file.
isLocal ( ) : boolean
setLocal ( boolean $local )

Защищенные методы

Метод Описание
getContextualOption ( string $option, string $type, string | array | null $original = null ) : string | array | Closure Get a contextual option.

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

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

Get the name of the application to deploy.
public getApplicationName ( ) : string
Результат string

getContextualOption() защищенный Метод

Get a contextual option.
protected getContextualOption ( string $option, string $type, string | array | null $original = null ) : string | array | Closure
$option string
$type string [stage,connection]
$original string | array | null
Результат string | array | Closure

getDetectedStage() публичный статический Метод

Returns what stage Rocketeer thinks he's in.
public static getDetectedStage ( string $application = 'application', string | null $path = null ) : string | false
$application string
$path string | null
Результат string | false

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

Get an option from Rocketeer's config file.
public getOption ( string $option ) : string | array | Closure
$option string
Результат string | array | Closure

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

public isLocal ( ) : boolean
Результат boolean

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

public setLocal ( boolean $local )
$local boolean

Описание свойств

$local защищенное свойство

Global local mode.
protected $local