Fabien Potencier 3f70efae53 feature #3954 Abstract node capture in its own Node (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Abstract node capture in its own Node

To prepare the work for #3950, I'd like to abstract the usage of `echo` into a single node that can be reused by other nodes.

The cache node is a good example of defining something that is more semantic are reusable as well. The node itself now just generates the wrapper that can then be returned, echoed, yielded, ...

Commits
-------

6ebbc305 Abstract node capture in its own Node
2023-12-30 13:02:32 +01:00
2023-11-21 16:47:02 +01:00
2023-12-14 08:17:06 +01:00
2023-12-30 10:14:36 +01:00
2022-09-16 12:46:43 +02:00
2023-12-22 08:34:46 +01:00
2023-12-10 20:13:10 +01:00
2023-02-08 08:44:48 +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%