34 lines
1.0 KiB
PHP
34 lines
1.0 KiB
PHP
<?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();
|
|
}
|
|
}
|