/** * @param \Ced\DevTool\Block\Context $context * @param \Magento\Framework\UrlFactory $urlFactory */ public function __construct(\Ced\DevTool\Block\Context $context, UrlFactory $urlFactory) { $this->_devToolHelper = $context->getDevToolHelper(); $this->_config = $context->getConfig(); $this->_urlApp = $urlFactory->create(); parent::__construct($context); }
/** * @param \Ced\DevTool\Block\Context $context */ public function __construct(\Ced\DevTool\Block\Context $context) { $this->_devToolHelper = $context->getDevToolHelper(); parent::__construct($context); }
/** * @param \Ced\DevTool\Block\Context $context */ public function __construct(\Ced\DevTool\Block\Context $context, \Magento\Framework\App\RequestInterface $request) { $this->_devToolHelper = $context->getDevToolHelper(); $this->_getVariables = $request->getParams(); parent::__construct($context); }