init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Esun\Wiki\Controller\Index;
|
||||
|
||||
use Magento\Framework\App\Action\HttpGetActionInterface;
|
||||
use Magento\Framework\View\Result\PageFactory;
|
||||
|
||||
class Index implements HttpGetActionInterface
|
||||
{
|
||||
public function __construct(private readonly PageFactory $pageFactory)
|
||||
{
|
||||
}
|
||||
|
||||
public function execute()
|
||||
{
|
||||
return $this->pageFactory->create();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user