aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/twig/twig/doc/tags/flush.rst
blob: 55ef593a9216e13432512f6938e032c5a8bf074b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
``flush``
=========

.. versionadded:: 1.5
    The flush tag was added in Twig 1.5.

The ``flush`` tag tells Twig to flush the output buffer:

.. code-block:: jinja

    {% flush %}

.. note::

    Internally, Twig uses the PHP `flush`_ function.

.. _`flush`: http://php.net/flush