47 if ($array instanceof Traversable) {
48 $array = iterator_to_array($array,
false);
56 class_alias(
'Twig_Extensions_Extension_Array',
'Twig\Extensions\ArrayExtension',
false);
twig_shuffle_filter($array)
Shuffles an array.
getName()
{Returns the name of the extension.string The extension namesince 1.26 (to be removed in 2...
getFilters()
{Returns a list of filters to add to the existing list.Twig_SimpleFilter[]}
Represents a template filter.
Create styles array
The data for the language used.
This file is part of Twig.