Currency.php 1003 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. /**
  7. * Currency controller
  8. *
  9. * @author Magento Core Team <core@magentocommerce.com>
  10. */
  11. namespace Magento\CurrencySymbol\Controller\Adminhtml\System;
  12. /**
  13. * @api
  14. * @since 100.0.2
  15. */
  16. abstract class Currency extends \Magento\Backend\App\Action
  17. {
  18. /**
  19. * Authorization level of a basic admin session
  20. *
  21. * @see _isAllowed()
  22. */
  23. const ADMIN_RESOURCE = 'Magento_CurrencySymbol::currency_rates';
  24. /**
  25. * Core registry
  26. *
  27. * @var \Magento\Framework\Registry
  28. */
  29. protected $_coreRegistry = null;
  30. /**
  31. * @param \Magento\Backend\App\Action\Context $context
  32. * @param \Magento\Framework\Registry $coreRegistry
  33. */
  34. public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry)
  35. {
  36. $this->_coreRegistry = $coreRegistry;
  37. parent::__construct($context);
  38. }
  39. }