protected function determineDrushAlias($realm, array $options)
    {
        if (count($options) > 1) {
            return $this->askChoiceQuestion(
                sprintf('Select the %s drush alias that should be used:', $realm),
                $options,
                0
            );
        }

        return reset($options) ?: null;
    }
protected function determineDrushAlias($realm, array $options)
    {
        if (count($options) > 1) {
            return $this->askChoiceQuestion(
                sprintf('Select the %s drush alias that should be used:', $realm),
                $options,
                0
            );
        }

        return reset($options) ?: null;
    }
protected function determineDrushAlias ( $ realm , array $ options ) { if ( count ( $ options ) > 1 ) { return $ this -> askChoiceQuestion ( sprintf ( 'Select the %s drush alias that should be used:' , $ realm ) , $ options , 0 ) ; } return reset ( $ options ) ? : null ; }
Determine what Drush alias to use, ask if more then one option.

@param string $realm
The environment realm
@param array $options
An an array of options.

@return string
The Drush alias chosen.
Determine what Drush alias to use ask if more then one option .