12345678910111213141516171819202122232425 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\Event;
- /**
- * Interface \Magento\Framework\Event\ManagerInterface
- *
- */
- interface ManagerInterface
- {
- /**
- * Dispatch event
- *
- * Calls all observer callbacks registered for this event
- * and multiple observers matching event name pattern
- *
- * @param string $eventName
- * @param array $data
- * @return void
- */
- public function dispatch($eventName, array $data = []);
- }
|