Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 0a088e11 authored by Nicolas's avatar Nicolas
Browse files

Finalisation de la base

parent 6089767e
No related branches found
Tags 1.0.0
No related merge requests found
Pipeline #470 failed
......@@ -4,13 +4,31 @@ namespace NicolasBejean\Base\Block\Adminhtml\Home;
use \Magento\Backend\Block\Template;
use \Magento\Backend\Block\Template\Context;
/**
* Class Index
*
* @category PHP
* @package NicolasBejean\Base\Block\Adminhtml\Home
* @author Nicolas Béjean <nicolas@bejean.eu>
* @license https://github.com/nicolasbejean/base/blob/master/licence.txt BSD Licence
* @link https://www.bejean.eu
*/
class Index extends Template
{
/**
* Index constructor.
*
* @param Context $context
* @param array $data
*/
public function __construct(Context $context, array $data = [])
{
parent::__construct($context, $data);
}
/**
* @return string
*/
public function getToto() {
return ' de Nicolas Béjean';
}
......
......@@ -5,6 +5,7 @@ use \Magento\Backend\App\Action;
use \Magento\Backend\App\Action\Context;
use \Magento\Backend\Model\View\Result\Page;
use \Magento\Framework\Controller\ResultInterface;
use \Magento\Framework\App\ResponseInterface;
use \Magento\Framework\View\Result\PageFactory;
/**
......@@ -23,6 +24,8 @@ use \Magento\Framework\View\Result\PageFactory;
protected $resultPageFactory;
/**
* Index constructor.
*
* @param Context $context
* @param PageFactory $resultPageFactory
*/
......@@ -36,9 +39,7 @@ use \Magento\Framework\View\Result\PageFactory;
}
/**
* Index action
*
* @return ResultInterface
* @return Page|ResponseInterface|ResultInterface
*/
public function execute()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment