Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
TotalFactory.php
Go to the documentation of this file.
1 <?php
7 
12 {
18  protected $_objectManager = null;
19 
26  {
27  $this->_objectManager = $objectManager;
28  }
29 
37  public function create($instanceName, array $data = [])
38  {
39  return $this->_objectManager->create($instanceName, $data);
40  }
41 }
$objectManager
Definition: bootstrap.php:17
create($instanceName, array $data=[])
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)