Review.php 831 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Customer\Controller;
  7. use Magento\Framework\App\Action\Context;
  8. use Magento\Framework\View\Result\PageFactory;
  9. class Review extends \Magento\Framework\App\Action\Action
  10. {
  11. /**
  12. * @var PageFactory
  13. */
  14. protected $resultPageFactory;
  15. /**
  16. * @param Context $context
  17. * @param PageFactory $resultPageFactory
  18. */
  19. public function __construct(
  20. Context $context,
  21. PageFactory $resultPageFactory
  22. ) {
  23. parent::__construct($context);
  24. $this->resultPageFactory = $resultPageFactory;
  25. }
  26. /**
  27. * @return \Magento\Framework\View\Result\Page
  28. */
  29. public function execute()
  30. {
  31. return $this->resultPageFactory->create();
  32. }
  33. }