File tree Expand file tree Collapse file tree
Resources/views/Collector Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 */
1010namespace Propel \Bundle \PropelBundle \Controller ;
1111
12- use Symfony \Component \DependencyInjection \ContainerAware ;
12+ use Symfony \Component \DependencyInjection \ContainerAwareInterface ;
13+ use Symfony \Component \DependencyInjection \ContainerAwareTrait ;
1314use Symfony \Component \HttpFoundation \Response ;
1415
1516/**
1617 * PanelController is designed to display information in the Propel Panel.
1718 *
1819 * @author William DURAND <william.durand1@gmail.com>
1920 */
20- class PanelController extends ContainerAware
21+ class PanelController implements ContainerAwareInterface
2122{
23+ use ContainerAwareTrait;
24+
2225 /**
2326 * This method renders the global Propel configuration.
2427 */
Original file line number Diff line number Diff line change 7979 <code >{{ query .sql | format_sql }}</code >
8080 {% if app .request .query .has (' query' ) and app .request .query .get (' query' ) == i %}
8181 <div class =" SQLExplain" >
82- {% render controller(' PropelBundle:Panel:explain' , {
82+ {{ render( controller(' PropelBundle:Panel:explain' , {
8383 ' token' : token ,
8484 ' panel' : ' propel' ,
8585 ' query' : app .request .query .get (' query' ),
8686 ' connection' : app .request .query .get (' connection' )
87- }) % }
87+ })) } }
8888 </div >
8989 {% endif %}
9090 <div class =" SQLInfo" >
101101 </tbody >
102102 </table >
103103
104- {% render controller(' PropelBundle:Panel:configuration' ) % }
104+ {{ render( controller(' PropelBundle:Panel:configuration' )) } }
105105{% endblock %}
You can’t perform that action at this time.
0 commit comments