Skip to content

Commit f3020a1

Browse files
committed
Fix PanelController container awareness
1 parent 59e84ba commit f3020a1

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Controller/PanelController.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,19 @@
99
*/
1010
namespace Propel\Bundle\PropelBundle\Controller;
1111

12-
use Symfony\Component\DependencyInjection\ContainerAware;
12+
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
13+
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
1314
use 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
*/

0 commit comments

Comments
 (0)