php - show all twig variables in symfony web developer toolbar -


is there easy way always show twig vars {{dump()}} in symfony web developer toolbar? have implemented custom data collector if add following lines in collector templates:

<div class="sf-toolbar-info-piece">     <b>twig vars</b> {{ dump() }} </div> 

only vars given toolbar shown not ones added in render function in controller. want output see if add

{% dump %} 

in twig template.


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -