do The do tag works exactly like the regular variable expression ({{ ...
}}) just that it doesn’t print anything: {% do 1 + 2 %}
   « deprecated  |  embed »  

    © 2009–2018 by the Twig TeamLicensed under the three clause BSD license.The Twig logo is 
{'path': 'public/docs/twig~3/tags/do.html', 'source': 'DevDocs.IO'}