Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
EventFactory.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Framework;
7 
9 {
13  protected $_objectManager;
14 
19  {
20  $this->_objectManager = $objectManager;
21  }
22 
27  public function create($arguments = [])
28  {
29  return $this->_objectManager->create(Event::class, $arguments);
30  }
31 }
$objectManager
Definition: bootstrap.php:17
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
$arguments