Exemplo n.º 1
0
 /**
  * Constructor
  *
  * @param Action\Context $context
  * @param \Magento\Tax\Api\TaxClassRepositoryInterface $taxClassRepository
  * @param \Magento\Framework\Registry $coreRegistry
  */
 public function __construct(Action\Context $context, \Magento\Tax\Api\TaxClassRepositoryInterface $taxClassRepository, \Magento\Framework\Registry $coreRegistry)
 {
     $this->taxClassRepository = $taxClassRepository;
     $this->coreRegistry = $coreRegistry;
     parent::__construct($context);
 }
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\App\Cache\TypeListInterface $cacheTypeList
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\App\Cache\TypeListInterface $cacheTypeList)
 {
     $this->cacheTypeList = $cacheTypeList;
     parent::__construct($context);
 }