Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
BaseFactory.php
Go to the documentation of this file.
1 <?php
9 
11 {
15  protected $_objectManager;
16 
21  {
22  $this->_objectManager = $objectManager;
23  }
24 
31  public function create($sourceData = null)
32  {
33  return $this->_objectManager->create(\Magento\Framework\App\Config\Base::class, ['sourceData' => $sourceData]);
34  }
35 }
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
Definition: BaseFactory.php:20
$objectManager
Definition: bootstrap.php:17