You are here

public function IdentityTranslatorTest::getTransTests in Zircon Profile 8

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

File

vendor/symfony/translation/Tests/IdentityTranslatorTest.php, line 74

Class

IdentityTranslatorTest

Namespace

Symfony\Component\Translation\Tests

Code

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