PHP Trait PHPPM\Commands\ConfigTrait

Show file Open project: php-pm/php-pm

Protected Properties

Property Type Description
$file

Protected Methods

Method Description
configurePPMOptions ( Command $command )
getConfigPath ( ) : string | null
initializeConfig ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, boolean $render = true ) : array | mixed
loadConfig ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
optionOrConfigValue ( Symfony\Component\Console\Input\InputInterface $input, $name, $config )
renderConfig ( Symfony\Component\Console\Output\OutputInterface $output, array $config )

Method Details

configurePPMOptions() protected method

protected configurePPMOptions ( Command $command )
$command Symfony\Component\Console\Command\Command

getConfigPath() protected method

protected getConfigPath ( ) : string | null
return string | null

initializeConfig() protected method

protected initializeConfig ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, boolean $render = true ) : array | mixed
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$render boolean
return array | mixed

loadConfig() protected method

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

optionOrConfigValue() protected method

protected optionOrConfigValue ( Symfony\Component\Console\Input\InputInterface $input, $name, $config )
$input Symfony\Component\Console\Input\InputInterface

renderConfig() protected method

protected renderConfig ( Symfony\Component\Console\Output\OutputInterface $output, array $config )
$output Symfony\Component\Console\Output\OutputInterface
$config array

Property Details

$file protected property

protected $file