for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Rj\FrontendBundle\Command\Options;
use Symfony\Component\Console\Question\ChoiceQuestion;
class ChoiceOptionHelper extends BaseOptionHelper
{
/**
* {@inheritdoc}
*/
public function getQuestion($question)
$question = new ChoiceQuestion("<question>$question</question>", $this->allowedValues, $this->defaultValue);
$question->setErrorMessage($this->errorMessage);
return $question;
}