コード例 #1
0
 /**
  * @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;
 }
コード例 #2
0
 public function __construct($name, EngineInterface $templating, ContainerInterface $container, MediaManagerInterface $mediaManager)
 {
     parent::__construct($name, $templating);
     $this->mediaManager = $mediaManager;
     $this->container = $container;
 }