Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RegionFactory.php
Go to the documentation of this file.
1 <?php
7 
13 {
17  protected $_objectManager;
18 
22  public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager)
23  {
24  $this->_objectManager = $objectManager;
25  }
26 
33  public function create(array $arguments = [])
34  {
35  return $this->_objectManager->create(\Magento\Directory\Model\Region::class, $arguments);
36  }
37 }
$objectManager
Definition: bootstrap.php:17
$arguments
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)