magento 2 create collection factory

Solutions on MaxInterview for magento 2 create collection factory by the best coders in the world

showing results for - "magento 2 create collection factory"
Liam
28 Jun 2018
1class Main extends \Magento\Framework\View\Element\Template
2{
3    protected $_datiFactory;
4
5    public function __construct(
6        \Magento\Framework\View\Element\Template\Context $context,
7        DatiFactory $datiFactory,
8        array $data = []
9    )
10    {
11        parent::__construct($context, $data);
12        $this->_datiFactory = $datiFactory;
13    }
14}
15
similar questions
queries leading to this page
magento 2 create collection factory