Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ConfigDataFactory.php
Go to the documentation of this file.
1 <?php
8 
11 
16 {
20  private $objectManager;
21 
27  public function __construct(ObjectManagerInterface $objectManager)
28  {
29  $this->objectManager = $objectManager;
30  }
31 
38  public function create($fileKey)
39  {
40  return $this->objectManager->create(ConfigData::class, ['fileKey' => $fileKey]);
41  }
42 }
$objectManager
Definition: bootstrap.php:17
__construct(ObjectManagerInterface $objectManager)