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