Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
DimensionFactory.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
11 
18 {
22  private $objectManager;
23 
27  public function __construct(ObjectManagerInterface $objectManager)
28  {
29  $this->objectManager = $objectManager;
30  }
31 
36  public function create(array $arguments = []): Dimension
37  {
38  return $this->objectManager->create(Dimension::class, $arguments);
39  }
40 }
$objectManager
Definition: bootstrap.php:17
$arguments