Exemple #1
0
 /**
  * @param Action\Context $context
  * @param NotifierInterface $notifier
  * @param \Magento\Framework\Url\EncoderInterface $urlEncoder
  * @param \Magento\Framework\Url\DecoderInterface $urlDecoder
  */
 public function __construct(Action\Context $context, NotifierInterface $notifier, \Magento\Framework\Url\EncoderInterface $urlEncoder, \Magento\Framework\Url\DecoderInterface $urlDecoder)
 {
     parent::__construct($context, $notifier, $urlEncoder);
     $this->urlDecoder = $urlDecoder;
 }
Exemple #2
0
 /**
  * @param Action\Context $context
  * @param NotifierInterface $notifier
  * @param \Magento\Framework\Url\EncoderInterface $urlEncoder
  * @param \Magento\Framework\View\LayoutFactory $layoutFactory
  */
 public function __construct(Action\Context $context, NotifierInterface $notifier, \Magento\Framework\Url\EncoderInterface $urlEncoder, \Magento\Framework\View\LayoutFactory $layoutFactory)
 {
     $this->layoutFactory = $layoutFactory;
     parent::__construct($context, $notifier, $urlEncoder);
 }