Data.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Event\Config;
  7. use Magento\Framework\Serialize\SerializerInterface;
  8. /**
  9. * Provides event configuration
  10. */
  11. class Data extends \Magento\Framework\Config\Data\Scoped
  12. {
  13. /**
  14. * Scope priority loading scheme
  15. *
  16. * @var array
  17. */
  18. protected $_scopePriorityScheme = ['global'];
  19. /**
  20. * Constructor
  21. *
  22. * @param \Magento\Framework\Event\Config\Reader $reader
  23. * @param \Magento\Framework\Config\ScopeInterface $configScope
  24. * @param \Magento\Framework\Config\CacheInterface $cache
  25. * @param string|null $cacheId
  26. * @param SerializerInterface|null $serializer
  27. */
  28. public function __construct(
  29. \Magento\Framework\Event\Config\Reader $reader,
  30. \Magento\Framework\Config\ScopeInterface $configScope,
  31. \Magento\Framework\Config\CacheInterface $cache,
  32. $cacheId = 'event_config_cache',
  33. SerializerInterface $serializer = null
  34. ) {
  35. parent::__construct($reader, $configScope, $cache, $cacheId, $serializer);
  36. }
  37. }