/**
  * @param $name
  * @param \Symfony\Component\Templating\EngineInterface $templating
  * @param \Symfony\Component\HttpKernel\HttpKernelInterface $kernel
  */
 public function __construct($name, EngineInterface $templating, HttpKernelInterface $kernel)
 {
     parent::__construct($name, $templating);
     $this->kernel = $kernel;
 }
 public function __construct($name, EngineInterface $templating, ContainerInterface $container, MediaManagerInterface $mediaManager)
 {
     parent::__construct($name, $templating);
     $this->mediaManager = $mediaManager;
     $this->container = $container;
 }