concrete/src/Console/Command/InstallCommand.php
private function getQuestionString(InputOption $option, $default)
    {
        if ('' !== (string) $default) {
            if (stripos($option->getName(), 'password') !== false) {
                return sprintf('%s? [<options=bold>HIDDEN</>]: ', $option->getDescription(), $default);
            }

            return sprintf('%s? [<options=bold>%s</>]: ', $option->getDescription(), $default);
        }

        return sprintf('%s?: ', $option->getDescription());
    }
private function getQuestionString(InputOption $option, $default)
    {
        if ('' !== (string) $default) {
            if (stripos($option->getName(), 'password') !== false) {
                return sprintf('%s? [<options=bold>HIDDEN</>]: ', $option->getDescription(), $default);
            }

            return sprintf('%s? [<options=bold>%s</>]: ', $option->getDescription(), $default);
        }

        return sprintf('%s?: ', $option->getDescription());
    }
private function getQuestionString ( InputOption $ option , $ default ) { if ( '' !== ( string ) $ default ) { if ( stripos ( $ option -> getName ( ) , 'password' ) !== false ) { return sprintf ( '%s? [<options=bold>HIDDEN</>]: ' , $ option -> getDescription ( ) , $ default ) ; } return sprintf ( '%s? [<options=bold>%s</>]: ' , $ option -> getDescription ( ) , $ default ) ; } return sprintf ( '%s?: ' , $ option -> getDescription ( ) ) ; }
Take an option and return a question string.

@param \Symfony\Component\Console\Input\InputOption $option
@param $default

@return string
Take an option and return a question string .