{% for item in paginator %}
{% set active = render(controller( 'App\\Controller\\CategoryController::activeCatalogs', {id: item.id} )) %}
{% if active == "0" %}Aucune parution en cours.{% else %}{{ active }}{% endif %}
{{ item.caption }}

{{ item.picture }}

 
{% endfor %}