flushΒΆ

New in version 1.5: The flush tag was added in Twig 1.5.

The flush tag tells Twig to flush the output buffer:

{% flush %}

Note

Internally, Twig uses the PHP flush function.