NewAction.php 645 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Customer\Controller\Adminhtml\Index;
  7. use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
  8. class NewAction extends \Magento\Customer\Controller\Adminhtml\Index implements HttpGetActionInterface
  9. {
  10. /**
  11. * Create new customer action
  12. *
  13. * @return \Magento\Backend\Model\View\Result\Forward
  14. */
  15. public function execute()
  16. {
  17. $resultForward = $this->resultForwardFactory->create();
  18. $resultForward->forward('edit');
  19. return $resultForward;
  20. }
  21. }