Skip to content

Commit 1679f53

Browse files
committed
remove redundant code
1 parent b4f2d3d commit 1679f53

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

EventListener/ViewResponseListener.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Symfony\Component\HttpKernel\Event\FilterControllerEvent;
1515
use Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent;
16-
use Symfony\Component\DependencyInjection\ContainerInterface;
1716
use Symfony\Bundle\FrameworkBundle\Templating\TemplateReference;
1817
use Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener;
1918
use JMS\Serializer\SerializationContext;
@@ -27,18 +26,6 @@
2726
*/
2827
class ViewResponseListener extends TemplateListener
2928
{
30-
protected $container;
31-
32-
/**
33-
* Constructor.
34-
*
35-
* @param ContainerInterface $container
36-
*/
37-
public function __construct(ContainerInterface $container)
38-
{
39-
$this->container = $container;
40-
}
41-
4229
/**
4330
* Guesses the template name to render and its variables and adds them to
4431
* the request object.

0 commit comments

Comments
 (0)