You are here

public function QuestionHelperTest::getAskConfirmationData 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::getAskConfirmationData()

File

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

Class

QuestionHelperTest
@group tty

Namespace

Symfony\Component\Console\Tests\Helper

Code

public function getAskConfirmationData() {
  return array(
    array(
      '',
      true,
    ),
    array(
      '',
      false,
      false,
    ),
    array(
      'y',
      true,
    ),
    array(
      'yes',
      true,
    ),
    array(
      'n',
      false,
    ),
    array(
      'no',
      false,
    ),
  );
}