Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
NewAction.php
Go to the documentation of this file.
1 <?php
7 
8 use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
11 
12 class NewAction extends RatingController implements HttpGetActionInterface
13 {
17  public function execute()
18  {
20  $resultForward = $this->resultFactory->create(ResultFactory::TYPE_FORWARD);
21  $resultForward->forward('edit');
22  return $resultForward;
23  }
24 }