22 lines
458 B
PHP
22 lines
458 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Esun\Agent\Controller\Index;
|
|
|
|
use Magento\Framework\App\Action\HttpGetActionInterface;
|
|
use Magento\Framework\View\Result\Page;
|
|
use Magento\Framework\View\Result\PageFactory;
|
|
|
|
class Index implements HttpGetActionInterface
|
|
{
|
|
public function __construct(
|
|
private readonly PageFactory $pageFactory
|
|
) {
|
|
}
|
|
|
|
public function execute(): Page
|
|
{
|
|
return $this->pageFactory->create();
|
|
}
|
|
}
|