MappingData.php 526 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\Payment\Gateway\ErrorMapper;
  8. use Magento\Framework\Config\Data\Scoped;
  9. /**
  10. * Extends Scoped class to override `_scopePriorityScheme` property.
  11. * It allows to load and merge config files from `global` scope and current scope to a single structure.
  12. */
  13. class MappingData extends Scoped
  14. {
  15. /**
  16. * @inheritdoc
  17. */
  18. protected $_scopePriorityScheme = ['global'];
  19. }