Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ObjectFactory.php
Go to the documentation of this file.
1 <?php
7 namespace Magento\Framework\Data;
8 
14 {
18  protected $objectManager;
19 
24  {
25  $this->objectManager = $objectManager;
26  }
27 
35  public function create($className, array $arguments)
36  {
37  return $this->objectManager->create($className, $arguments);
38  }
39 }
create($className, array $arguments)
$arguments
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
if($currentSelectedMethod==$_code) $className
Definition: form.phtml:31