You are here

public function TranslatorTest::getTransTests in Zircon Profile 8.0

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

File

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

Class

TranslatorTest

Namespace

Symfony\Component\Translation\Tests

Code

public function getTransTests() {
  return array(
    array(
      'Symfony est super !',
      'Symfony is great!',
      'Symfony est super !',
      array(),
      'fr',
      '',
    ),
    array(
      'Symfony est awesome !',
      'Symfony is %what%!',
      'Symfony est %what% !',
      array(
        '%what%' => 'awesome',
      ),
      'fr',
      '',
    ),
    array(
      'Symfony est super !',
      new StringClass('Symfony is great!'),
      'Symfony est super !',
      array(),
      'fr',
      '',
    ),
  );
}