Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RemoteFactory.php
Go to the documentation of this file.
1 <?php
7 
9 
14 {
18  private $objectManager;
19 
23  public function __construct(ObjectManagerInterface $objectManager)
24  {
25  $this->objectManager = $objectManager;
26  }
27 
34  public function create(array $data = [])
35  {
36  return $this->objectManager->create(Remote::class, $data);
37  }
38 }
__construct(ObjectManagerInterface $objectManager)
$objectManager
Definition: bootstrap.php:17