PHP Класс Platformsh\Cli\Application

Наследование: extends Symfony\Component\Console\Application
Показать файл Открыть проект

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

Свойство Тип Описание
$cliConfig CliConfig
$currentCommand Symfony\Component\Console\Command\Command | null

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

Метод Описание
__construct ( )
doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getHelp ( )
renderException ( Exception $e, Symfony\Component\Console\Output\OutputInterface $output )
setCurrentCommand ( Command $command = null ) Set the current command. This is used for error handling.

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

Метод Описание
doRunCommand ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getCommands ( ) : Command[]
getDefaultCommands ( )
getDefaultHelperSet ( )
getDefaultInputDefinition ( )
setDefaultTimezone ( ) Set the default timezone.

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

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

public __construct ( )

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

public doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

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

protected doRunCommand ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$command Symfony\Component\Console\Command\Command
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

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

protected getCommands ( ) : Command[]
Результат Symfony\Component\Console\Command\Command[]

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

protected getDefaultCommands ( )

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

protected getDefaultHelperSet ( )

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

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

public getHelp ( )

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

public renderException ( Exception $e, Symfony\Component\Console\Output\OutputInterface $output )
$e Exception
$output Symfony\Component\Console\Output\OutputInterface

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

Set the current command. This is used for error handling.
public setCurrentCommand ( Command $command = null )
$command Symfony\Component\Console\Command\Command

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

PHP 5.4 has removed the autodetection of the system timezone, so it needs to be done manually. UTC is the fallback in case autodetection fails.
protected setDefaultTimezone ( )

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

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

protected CliConfig,Platformsh\Cli $cliConfig
Результат CliConfig

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

protected Command,Symfony\Component\Console\Command|null $currentCommand
Результат Symfony\Component\Console\Command\Command | null