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