3.3 Demonstrate ability to use Twig syntaxdeclaring variables:{% set text = ':person is a Twig fan'|t({':person': user }) %}
loop:{% for user in users %}
{{user.name}}
{% endfor %}
extends:{% extends "page.html.twig"" %}
include:{% include "page.html.twig" with {
name: 'Patrick'
} %}
macro: {% macro print_patrick(name) %}
<p>{{ name }}</p>
{% endmacro %}
{{ _self.print_patrick('patrick') }}
using filters:{{ 'translate me'|t }}
using functions:{{ date|format_date('html_date') }}