You are here

public function TranslatorTest::getValidLocalesTests in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/Tests/TranslatorTest.php \Symfony\Component\Translation\Tests\TranslatorTest::getValidLocalesTests()

File

vendor/symfony/translation/Tests/TranslatorTest.php, line 451

Class

TranslatorTest

Namespace

Symfony\Component\Translation\Tests

Code

public function getValidLocalesTests() {
  return array(
    array(
      '',
    ),
    array(
      null,
    ),
    array(
      'fr',
    ),
    array(
      'francais',
    ),
    array(
      'FR',
    ),
    array(
      'frFR',
    ),
    array(
      'fr-FR',
    ),
    array(
      'fr_FR',
    ),
    array(
      'fr.FR',
    ),
    array(
      'fr-FR.UTF8',
    ),
    array(
      'sr@latin',
    ),
  );
}