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

Наследование: extends Stecman\Component\Symfony\Console\BashCompletion\CompletionCommand, implements Platformsh\Cli\Command\CanHideInListInterface
Показать файл Открыть проект

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

Свойство Тип Описание
$api Platformsh\Cli\Api
$projects array A list of the user's projects.
$welcomeCommand CommandBase

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

Метод Описание
getAppNames ( ) : string[] Get a list of application names in the local project.
getEnvironments ( ) : string[] Get a list of environment IDs.
getEnvironmentsForCheckout ( ) : string[] Get a list of environments IDs that can be checked out.
getUserEmails ( ) : string[] Get a list of user email addresses.
isHiddenInList ( )

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

Метод Описание
getProject ( ) : Platformsh\Client\Model\Project | false Get the preferred project for autocompletion.
getProjectIdFromCommandLine ( string $commandLine ) : string | false Get the project ID the user has already entered on the command line.
runCompletion ( )
setUp ( )

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

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

Get a list of application names in the local project.
public getAppNames ( ) : string[]
Результат string[]

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

Get a list of environment IDs.
public getEnvironments ( ) : string[]
Результат string[]

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

Get a list of environments IDs that can be checked out.
public getEnvironmentsForCheckout ( ) : string[]
Результат string[]

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

The project is either defined by an ID that the user has specified in the command (via the 'id' argument of 'get', or the '--project' option), or it is determined from the current path.
protected getProject ( ) : Platformsh\Client\Model\Project | false
Результат Platformsh\Client\Model\Project | false

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

Get the project ID the user has already entered on the command line.
protected getProjectIdFromCommandLine ( string $commandLine ) : string | false
$commandLine string
Результат string | false

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

Get a list of user email addresses.
public getUserEmails ( ) : string[]
Результат string[]

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

public isHiddenInList ( )

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

protected runCompletion ( )

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

protected setUp ( )

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

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

protected Api,Platformsh\Cli $api
Результат Platformsh\Cli\Api

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

A list of the user's projects.
protected array $projects
Результат array

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

protected CommandBase,Platformsh\Cli\Command $welcomeCommand
Результат CommandBase