Your IP : 216.73.216.220


Current Path : /home/rtorresani/www/app/code/Torresani/QrCodeRedirect/Controller/Index/
Upload File :
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();
    }
}