Fabien Potencier 1ea5ac600d feature #4543 Move operator definitions to objects (fabpot)
This PR was squashed before being merged into the 3.x branch.

Discussion
----------

Move operator definitions to objects

Commits
-------

79d828b09d Fix version
251c0b5da9 Fix CS
561c6629e1 Remove obsolete code
4b57f48a65 Use generics in ExpressionParsers
8ff19090f3 Fix precedence rules
0cb5c0e8d0 Add deprecation notices in CHANGELOG and docs
f67078b5c4 Move Operators to ExpressionParsers, deprecate ExpressionParser
9334a7064a Add a script to update operator precedence documentation
42c82e1e9b Extract operators logic from ExpressionParser to their own classes
df877a1d53 Introduce operator classes to describe operators provided by extensions instead of arrays
2025-02-14 08:51:09 +01:00
2025-01-31 21:45:36 +01:00
2025-02-14 08:45:28 +01:00
2025-02-14 08:47:54 +01:00
2025-02-14 08:45:28 +01:00
2025-02-14 08:47:54 +01:00
2025-02-14 08:47:54 +01:00
2025-02-14 08:38:53 +01:00
2025-02-14 08:38:53 +01:00
2025-01-31 21:45:36 +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%