-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathIndex.php
More file actions
executable file
·45 lines (37 loc) · 1013 Bytes
/
Index.php
File metadata and controls
executable file
·45 lines (37 loc) · 1013 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
namespace Comwrap\ElasticsuiteBlog\Controller\Result;
#[\AllowDynamicProperties]
class Index extends \Magento\Framework\App\Action\Action
{
/**
* Page Factory
*
* @var \Magento\Framework\View\Result\PageFactory
*/
protected $resultPageFactory;
/**
* PHP Constructor
*
* @param \Magento\Framework\App\Action\Context $context Action context
* @param \Magento\Framework\View\Result\PageFactory $pageFactory Page Factory
*
* @return Index
*/
public function __construct(
\Magento\Framework\App\Action\Context $context,
\Magento\Framework\View\Result\PageFactory $pageFactory
) {
parent::__construct($context);
$this->resultPageFactory = $pageFactory;
}
/**
* Execute the action
*
* @return \Magento\Framework\View\Result\Page
*/
public function execute()
{
$resultPage = $this->resultPageFactory->create();
return $resultPage;
}
}