You are here

public function QuestionHelperTest::mixedKeysChoiceListAnswerProvider in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Helper/QuestionHelperTest.php \Symfony\Component\Console\Tests\Helper\QuestionHelperTest::mixedKeysChoiceListAnswerProvider()

File

vendor/symfony/console/Tests/Helper/QuestionHelperTest.php, line 278

Class

QuestionHelperTest
@group tty

Namespace

Symfony\Component\Console\Tests\Helper

Code

public function mixedKeysChoiceListAnswerProvider() {
  return array(
    array(
      '0',
      '0',
    ),
    array(
      'No environment',
      '0',
    ),
    array(
      '1',
      '1',
    ),
    array(
      'env_2',
      'env_2',
    ),
    array(
      3,
      '3',
    ),
    array(
      'My environment 1',
      '1',
    ),
  );
}