... set fruits = items|column('fruit') %} {# fruits now contains ['apple', 'orange'] #}. Note. Internally, Twig uses the PHP array_column function.
確定! 回上一頁