I entered a variable in the session named $_SESSION['ano']
. I would like to print your value on a page using twig.
I've tried:
{% for ano in app.session %}
{{ ano }}
{% endfor %}
But it does not work. How can I do it? The framework I'm working on is Slim.