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