| Current Path : /home/rtorresani/www/app/code/Torresani/QrCodeRedirect/Controller/Index/ |
| Current File : //home/rtorresani/www/app/code/Torresani/QrCodeRedirect/Controller/Index/Index.php |
<?php
namespace Torresani\QrCodeRedirect\Controller\Index;
use \Magento\Framework\App\Action\HttpGetActionInterface;
use \Magento\Framework\View\Result\PageFactory;
class Index implements HttpGetActionInterface
{
/**
* @var \Magento\Framework\View\Result\PageFactory
*/
protected $resultPageFactory;
/**
* @param PageFactory $resultPageFactory
*/
public function __construct(PageFactory $resultPageFactory) {
$this->resultPageFactory = $resultPageFactory;
}
/**
* Prints the information
* @return Page
*/
public function execute()
{
return $this->resultPageFactory->create();
}
}