11 require_once __DIR__.
'/../../../../lib/Twig/Extensions/Extension/Array.php';
20 foreach ($expectedElements as $element) {
38 array(
'a' =>
'apple',
'b' =>
'orange',
'c' =>
'citrus'),
39 array(
'apple',
'orange',
'citrus'),
43 array(
'apple',
'orange',
'citrus'),
twig_shuffle_filter($array)
Shuffles an array.
testShuffleFilter($data, $expectedElements)
getShuffleFilterTestData
testShuffleFilterOnEmptyArray()
Create styles array
The data for the language used.
getShuffleFilterTestData()