Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Factory.php
Go to the documentation of this file.
1 <?php
7 
10 
14 class Factory
15 {
19  protected $className = \Magento\Ui\Component\Form\Fieldset::class;
20 
24  protected $objectManager;
25 
32  {
33  $this->objectManager = $objectManager;
34  }
35 
42  public function create(array $arguments = [])
43  {
44  return $this->objectManager->create($this->className, ['data' => $arguments]);
45  }
46 }
__construct(ObjectManagerInterface $objectManager)
Definition: Factory.php:31
$arguments