Index.php 715 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Paypal\Controller\Adminhtml\Paypal\Reports;
  8. use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
  9. class Index extends \Magento\Paypal\Controller\Adminhtml\Paypal\Reports implements HttpGetActionInterface
  10. {
  11. /**
  12. * Authorization level of a basic admin session
  13. *
  14. * @see _isAllowed()
  15. */
  16. const ADMIN_RESOURCE = 'Magento_Paypal::paypal_settlement_reports_view';
  17. /**
  18. * Grid action
  19. *
  20. * @return void
  21. */
  22. public function execute()
  23. {
  24. $this->_initAction();
  25. $this->_view->renderLayout();
  26. }
  27. }