Home
last modified time | relevance | path

Searched refs:preserveKeys (Results 1 – 4 of 4) sorted by relevance

/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/
H A DCoreExtension.php676 $item = iterator_to_array($item, $preserveKeys);
680 return \array_slice($item, $start, $length, $preserveKeys);
872 * @param bool $preserveKeys Whether to preserve key or not
876 function twig_reverse_filter(Environment $env, $item, $preserveKeys = false) argument
879 return array_reverse(iterator_to_array($item), $preserveKeys);
883 return array_reverse($item, $preserveKeys);
1465 function twig_to_array($seq, $preserveKeys = true) argument
1468 return iterator_to_array($seq, $preserveKeys);
1475 if(!$preserveKeys) {
1650 function twig_array_batch($items, $size, $fill = null, $preserveKeys = true) argument
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
H A Dreverse.test8 {{ {'a': 'c', 'b': 'a'}|reverse(preserveKeys=true)|join(glue=',') }}
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Extension/
H A DCoreTest.php260 … public function testSliceFilter($expected, $input, $start, $length = null, $preserveKeys = false) argument
263 $this->assertSame($expected, twig_slice($twig, $input, $start, $length, $preserveKeys));
/plugin/findologicxmlexport/vendor/twig/twig/
H A DCHANGELOG27 * added preserveKeys support for the batch filter
612 * added preserveKeys support for the slice filter
672 * added missing preserveKeys argument to the reverse filter