Fabien Potencier dc00598e39 feature #4135 Add loop.changed, loop.previous, loop.next, and loop.cycle variables (fabpot)
This PR was squashed before being merged into the 4.x branch.

Discussion
----------

Add `loop.changed`, `loop.previous`, `loop.next`, and `loop.cycle` variables

Commits
-------

55b414c4 Add more precise types
65b4ea43 Add `loop.changed`, `loop.previous`, `loop.next`, and `loop.cycle` variables
2024-07-12 19:18:43 +02:00
2024-07-06 10:46:01 +02:00
2024-07-12 18:05:50 +02:00
2024-07-05 08:00:46 +02:00
2024-07-12 18:05:50 +02:00
2024-07-01 18:45:00 +02:00
2024-02-10 10:03:27 +01:00
2023-12-09 12:45:27 +01:00

Twig, the flexible, fast, and secure template language for PHP
==============================================================

Twig is a template language for PHP.

Twig uses a syntax similar to the Django and Jinja template languages which
inspired the Twig runtime environment.

Sponsors
--------

.. raw:: html

    <a href="https://docs.blackfire.io/introduction?utm_source=twig&utm_medium=github_readme&utm_campaign=logo">
        <img src="https://static.blackfire.io/assets/intemporals/logo/png/blackfire-io_secondary_horizontal_transparent.png?1" width="255px" alt="Blackfire.io">
    </a>

More Information
----------------

Read the `documentation`_ for more information.

.. _documentation: https://twig.symfony.com/documentation
Languages
PHP 99.9%