/** * @param string $code * @param string $class * @param string $baseControllerName * @param \AppKernel $kernel */ public function __construct($code, $class, $baseControllerName, \AppKernel $kernel) { $this->kernel = $kernel; parent::__construct($code, $class, $baseControllerName); }
/** * @param string $code * @param string $class * @param string $baseControllerName * @param TranslatableListener $translatableListener */ public function __construct($code, $class, $baseControllerName, TranslatableListener $translatableListener) { $this->translatableListener = $translatableListener; parent::__construct($code, $class, $baseControllerName); }