KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In PHP templates I can use php functions, for example: foreach ($users as $user){ echo someFunction($user->getName()); } How can I make it in TWIG? {% for user in users %} * {{ user.name }} {% else %} No user have been found. {% endfor %} How do I achieve this?
Tags (comma-separated)
Save Edits
Cancel