PHP Class SensioLabs\Insight\Cli\Helper\ConfigurationHelper

Inheritance: extends Symfony\Component\Console\Helper\Helper
Show file Open project: sensiolabs/insight

Public Methods

Method Description
__construct ( $apiEndpoint )
getConfiguration ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getName ( )
updateConfigurationManually ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Private Methods

Method Description
askValue ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $varname, $default = null )
getValue ( Symfony\Component\Console\Input\InputInterface $input, $varName )
resolveValue ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, Configuration $configuration, $varName, $default = null )
saveConfiguration ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, Configuration $configuration )

Method Details

__construct() public method

public __construct ( $apiEndpoint )

getConfiguration() public method

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

getName() public method

public getName ( )

updateConfigurationManually() public method

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