diff options
Diffstat (limited to 'vendor/twig/twig/doc/tags/flush.rst')
-rw-r--r-- | vendor/twig/twig/doc/tags/flush.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/twig/twig/doc/tags/flush.rst b/vendor/twig/twig/doc/tags/flush.rst new file mode 100644 index 00000000..55ef593a --- /dev/null +++ b/vendor/twig/twig/doc/tags/flush.rst | |||
@@ -0,0 +1,17 @@ | |||
1 | ``flush`` | ||
2 | ========= | ||
3 | |||
4 | .. versionadded:: 1.5 | ||
5 | The flush tag was added in Twig 1.5. | ||
6 | |||
7 | The ``flush`` tag tells Twig to flush the output buffer: | ||
8 | |||
9 | .. code-block:: jinja | ||
10 | |||
11 | {% flush %} | ||
12 | |||
13 | .. note:: | ||
14 | |||
15 | Internally, Twig uses the PHP `flush`_ function. | ||
16 | |||
17 | .. _`flush`: http://php.net/flush | ||