PHP Class Platformsh\Cli\Command\Environment\EnvironmentInfoCommand

Inheritance: extends Platformsh\Cli\Command\CommandBase
Show file Open project: commerceguys/platform-cli

Protected Properties

Property Type Description
$formatter Platformsh\Cli\Util\PropertyFormatter

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getType ( string $property ) : string | false Get the type of a writable environment property.
listProperties ( Platformsh\Client\Model\Environment $environment, Table $table ) : integer
setProperty ( string $property, string $value, Platformsh\Client\Model\Environment $environment, boolean $noWait ) : integer
validateValue ( string $property, string $value ) : boolean

Method Details

configure() protected method

protected configure ( )

execute() protected method

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

getType() protected method

Get the type of a writable environment property.
protected getType ( string $property ) : string | false
$property string
return string | false

listProperties() protected method

protected listProperties ( Platformsh\Client\Model\Environment $environment, Table $table ) : integer
$environment Platformsh\Client\Model\Environment
$table Platformsh\Cli\Util\Table
return integer

setProperty() protected method

protected setProperty ( string $property, string $value, Platformsh\Client\Model\Environment $environment, boolean $noWait ) : integer
$property string
$value string
$environment Platformsh\Client\Model\Environment
$noWait boolean
return integer

validateValue() protected method

protected validateValue ( string $property, string $value ) : boolean
$property string
$value string
return boolean

Property Details

$formatter protected property

protected PropertyFormatter,Platformsh\Cli\Util $formatter
return Platformsh\Cli\Util\PropertyFormatter