PHP Class Platformsh\Cli\Command\Project\ProjectCreateCommand

Inheritance: extends Platformsh\Cli\Command\CommandBase
Afficher le fichier Open project: commerceguys/platform-cli

Protected Properties

Свойство Type Description
$form Platformsh\ConsoleForm\Form

Méthodes publiques

Méthode Description
isEnabled ( )

Méthodes protégées

Méthode Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getAvailablePlans ( ) : string[] Return a list of plans.
getEstimate ( string $plan, integer $storage, integer $environments ) : array | false Get a cost estimate for the new project.
getFields ( ) : Platformsh\ConsoleForm\Field\Field[] Returns a list of ConsoleForm form fields for this command.

Method Details

configure() protected méthode

protected configure ( )

execute() protected méthode

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

getAvailablePlans() protected méthode

The default list (from the API client) can be overridden by user config.
protected getAvailablePlans ( ) : string[]
Résultat string[]

getEstimate() protected méthode

Get a cost estimate for the new project.
protected getEstimate ( string $plan, integer $storage, integer $environments ) : array | false
$plan string
$storage integer
$environments integer
Résultat array | false

getFields() protected méthode

Returns a list of ConsoleForm form fields for this command.
protected getFields ( ) : Platformsh\ConsoleForm\Field\Field[]
Résultat Platformsh\ConsoleForm\Field\Field[]

isEnabled() public méthode

public isEnabled ( )

Property Details

$form protected_oe property

protected Form,Platformsh\ConsoleForm $form
Résultat Platformsh\ConsoleForm\Form