protected static function mergeCommandArgumentsIntoConfiguration(Configuration $config, InputExtendedInterface $input)
    {
        if ($input->hasArgument('instances') === false) {
            return $config;
        }

        $argumentInstances = $input->getArgument('instances');

        if (count($argumentInstances) === 0) {
            return $config;
        }

        // Gerrie is a reserved keyword for project names
        $config->setConfigurationValue('Gerrit.Gerrie', $argumentInstances);

        return $config;
    }
protected static function mergeCommandArgumentsIntoConfiguration(Configuration $config, InputExtendedInterface $input)
    {
        if ($input->hasArgument('instances') === false) {
            return $config;
        }

        $argumentInstances = $input->getArgument('instances');

        if (count($argumentInstances) === 0) {
            return $config;
        }

        // Gerrie is a reserved keyword for project names
        $config->setConfigurationValue('Gerrit.Gerrie', $argumentInstances);

        return $config;
    }
protected static function mergeCommandArgumentsIntoConfiguration ( Configuration $ config , InputExtendedInterface $ input ) { if ( $ input -> hasArgument ( 'instances' ) === false ) { return $ config ; } $ argumentInstances = $ input -> getArgument ( 'instances' ) ; if ( count ( $ argumentInstances ) === 0 ) { return $ config ; } // Gerrie is a reserved keyword for project names $ config -> setConfigurationValue ( 'Gerrit.Gerrie' , $ argumentInstances ) ; return $ config ; }
Merges the command line arguments into a existing configuration.

E.g.
* Instances

@param Configuration $config
@param InputExtendedInterface $input
@return Configuration
Merges the command line arguments into a existing configuration .