Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
DomFactory.php
Go to the documentation of this file.
1 <?php
7 
14 {
15  const CLASS_NAME = \Magento\Framework\Config\Dom::class;
16 
22  protected $_objectManager;
23 
29  public function __construct(
30  \Magento\Framework\ObjectManagerInterface $objectManger
31  ) {
32  $this->_objectManager = $objectManger;
33  }
34 
41  public function createDom(array $arguments = [])
42  {
43  return $this->_objectManager->create(self::CLASS_NAME, $arguments);
44  }
45 }
__construct(\Magento\Framework\ObjectManagerInterface $objectManger)
Definition: DomFactory.php:29
$arguments
createDom(array $arguments=[])
Definition: DomFactory.php:41