I'm sending to a Twig view a doctrine result. Then in Twig:
{% for key, value in result|array%}
{{key}} : {{value}}
The array filter is a extension that converts the Doctrine Result Object into an Array using $result = (array) $result;
And... {{key}} is rendering the field name, but preceded of the full Bundle/Entity path... Any ideas of getting rid of this prefix?
Thanks in advance ;)