25 lines
699 B
PHP
25 lines
699 B
PHP
<?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 NewAction 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(__('Add VAT Number'));
|
|
return $page;
|
|
}
|
|
}
|