gmarche/vendor/twig/twig/doc/tags/do.rst

10 lines
176 B
ReStructuredText

``do``
======
The ``do`` tag works exactly like the regular variable expression (``{{ ...
}}``) just that it doesn't print anything:
.. code-block:: twig
{% do 1 + 2 %}