public function MessageSelectorTest::getNonMatchingMessages in Plug 7
File
- lib/
Symfony/ translation/ Tests/ MessageSelectorTest.php, line 46
Class
Namespace
Symfony\Component\Translation\TestsCode
public function getNonMatchingMessages() {
return array(
array(
'{0} There are no apples|{1} There is one apple',
2,
),
array(
'{1} There is one apple|]1,Inf] There are %count% apples',
0,
),
array(
'{1} There is one apple|]2,Inf] There are %count% apples',
2,
),
array(
'{0} There are no apples|There is one apple',
2,
),
);
}