public function TranslatorTest::getFlattenedTransTests in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/translation/Tests/TranslatorTest.php \Symfony\Component\Translation\Tests\TranslatorTest::getFlattenedTransTests()
File
- vendor/
symfony/ translation/ Tests/ TranslatorTest.php, line 388
Class
Namespace
Symfony\Component\Translation\TestsCode
public function getFlattenedTransTests() {
$messages = array(
'symfony' => array(
'is' => array(
'great' => 'Symfony est super!',
),
),
'foo' => array(
'bar' => array(
'baz' => 'Foo Bar Baz',
),
'baz' => 'Foo Baz',
),
);
return array(
array(
'Symfony est super!',
$messages,
'symfony.is.great',
),
array(
'Foo Bar Baz',
$messages,
'foo.bar.baz',
),
array(
'Foo Baz',
$messages,
'foo.baz',
),
);
}