init
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Esun\Reward\Controller\Account;
|
||||
|
||||
use Magento\Customer\Controller\AbstractAccount;
|
||||
use Magento\Framework\App\Action\HttpGetActionInterface;
|
||||
use Magento\Framework\View\Result\PageFactory;
|
||||
use Magento\Framework\App\Action\Context;
|
||||
|
||||
class Index extends AbstractAccount implements HttpGetActionInterface
|
||||
{
|
||||
public function __construct(Context $context, private readonly PageFactory $pageFactory) { parent::__construct($context); }
|
||||
public function execute() { $page = $this->pageFactory->create(); $page->getConfig()->getTitle()->set(__('My Points')); return $page; }
|
||||
}
|
||||
Reference in New Issue
Block a user