PHP Класс Platformsh\Cli\Command\MultiCommand

Наследование: extends CommandBase, implements Stecman\Component\Symfony\Console\BashCompletion\Completion\CompletionAwareInterface
Показать файл Открыть проект

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

Свойство Тип Описание
$canBeRunMultipleTimes

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

Метод Описание
completeArgumentValues ( $argumentName, CompletionContext $context )
completeOptionValues ( $optionName, CompletionContext $context )

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

Метод Описание
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getAllProjects ( Symfony\Component\Console\Input\InputInterface $input ) : Platformsh\Client\Model\Project[] Get a list of the user's projects, sorted according to the input.
getSelectedProjects ( Symfony\Component\Console\Input\InputInterface $input ) : Platformsh\Client\Model\Project[] | false Get the projects selected by the user.
showDialogChecklist ( array $options, string $text = 'Choose item(s)' ) : array Show a checklist using the dialog utility.

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

completeArgumentValues() публичный метод

public completeArgumentValues ( $argumentName, CompletionContext $context )
$context Stecman\Component\Symfony\Console\BashCompletion\CompletionContext

completeOptionValues() публичный метод

public completeOptionValues ( $optionName, CompletionContext $context )
$context Stecman\Component\Symfony\Console\BashCompletion\CompletionContext

configure() защищенный метод

protected configure ( )

execute() защищенный метод

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

getAllProjects() защищенный метод

Get a list of the user's projects, sorted according to the input.
protected getAllProjects ( Symfony\Component\Console\Input\InputInterface $input ) : Platformsh\Client\Model\Project[]
$input Symfony\Component\Console\Input\InputInterface
Результат Platformsh\Client\Model\Project[]

getSelectedProjects() защищенный метод

Projects can be specified via the command-line option --projects (as a list of project IDs) or, if possible, the user will be prompted with a checklist via the 'dialog' utility.
protected getSelectedProjects ( Symfony\Component\Console\Input\InputInterface $input ) : Platformsh\Client\Model\Project[] | false
$input Symfony\Component\Console\Input\InputInterface
Результат Platformsh\Client\Model\Project[] | false An array of projects, or false on error.

showDialogChecklist() защищенный метод

Show a checklist using the dialog utility.
protected showDialogChecklist ( array $options, string $text = 'Choose item(s)' ) : array
$options array
$text string
Результат array

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

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

protected $canBeRunMultipleTimes