Index.php 790 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Rss\Controller;
  7. /**
  8. * Class Index
  9. * @package Magento\Rss\Controller
  10. */
  11. abstract class Index extends \Magento\Framework\App\Action\Action
  12. {
  13. /**
  14. * @var \Magento\Framework\App\Config\ScopeConfigInterface
  15. */
  16. protected $_scopeConfig;
  17. /**
  18. * @param \Magento\Framework\App\Action\Context $context
  19. * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
  20. */
  21. public function __construct(
  22. \Magento\Framework\App\Action\Context $context,
  23. \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
  24. ) {
  25. $this->_scopeConfig = $scopeConfig;
  26. parent::__construct($context);
  27. }
  28. }