Documentation

Array.php

This file is part of Twig.

(c) 2009 Fabien Potencier

For the full copyright and license information, please view the LICENSE file that was distributed with this source code.

Interfaces, Classes and Traits

Twig_Extensions_Extension_Array

Table of Contents

twig_shuffle_filter()  : array<string|int, mixed>
Shuffles an array.

Functions

twig_shuffle_filter()

Shuffles an array.

twig_shuffle_filter(array<string|int, mixed>|Traversable $array) : array<string|int, mixed>
Parameters
$array : array<string|int, mixed>|Traversable

An array

Return values
array<string|int, mixed>

Search results