Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
DiffFactory.php
Go to the documentation of this file.
1 <?php
8 
10 
15 {
19  private $objectManager;
20 
26  public function __construct(ObjectManagerInterface $objectManager)
27  {
28  $this->objectManager = $objectManager;
29  }
30 
37  public function create(array $data)
38  {
39  return $this->objectManager->create(Diff::class, $data);
40  }
41 }
$objectManager
Definition: bootstrap.php:17
__construct(ObjectManagerInterface $objectManager)
Definition: DiffFactory.php:26