init
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Stemcell\Customer\Controller\Avatr;
|
||||
|
||||
use Magento\Framework\App\Action\HttpGetActionInterface;
|
||||
use Stemcell\Customer\Helper\Avatr as AvatrHelper;
|
||||
use Stemcell\Customer\Model\AvatrFactory;
|
||||
|
||||
class Index implements HttpGetActionInterface
|
||||
{
|
||||
private \Magento\Framework\View\Result\PageFactory $resultPageFactory;
|
||||
private AvatrHelper $avatrHelper;
|
||||
private AvatrFactory $avatrFactory;
|
||||
private \Magento\Framework\App\RequestInterface $request;
|
||||
|
||||
public function __construct(
|
||||
\Magento\Framework\View\Result\PageFactory $resultPageFactory,
|
||||
AvatrHelper $avatrHelper,
|
||||
AvatrFactory $avatrFactory,
|
||||
\Magento\Framework\App\RequestInterface $request
|
||||
) {
|
||||
$this->resultPageFactory = $resultPageFactory;
|
||||
$this->avatrHelper = $avatrHelper;
|
||||
$this->avatrFactory = $avatrFactory;
|
||||
$this->request = $request;
|
||||
}
|
||||
|
||||
public function execute()
|
||||
{
|
||||
/** @var \Magento\Framework\View\Result\Page $resultPage */
|
||||
return $this->resultPageFactory->create();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user