123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\TaxImportExport\Controller\Adminhtml;
- /**
- * Adminhtml tax rate controller
- */
- abstract class Rate extends \Magento\Backend\App\Action
- {
- /**
- * Authorization level of a basic admin session
- *
- * @see _isAllowed()
- */
- const ADMIN_RESOURCE = 'Magento_Tax::manage_tax';
- /**
- * @var \Magento\Framework\App\Response\Http\FileFactory
- */
- protected $fileFactory;
- /**
- * @param \Magento\Backend\App\Action\Context $context
- * @param \Magento\Framework\App\Response\Http\FileFactory $fileFactory
- */
- public function __construct(
- \Magento\Backend\App\Action\Context $context,
- \Magento\Framework\App\Response\Http\FileFactory $fileFactory
- ) {
- $this->fileFactory = $fileFactory;
- parent::__construct($context);
- }
- }
|