InvokerInterface.php 523 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Event invoker interface
  4. *
  5. * Copyright © Magento, Inc. All rights reserved.
  6. * See COPYING.txt for license details.
  7. */
  8. namespace Magento\Framework\Event;
  9. /**
  10. * Interface \Magento\Framework\Event\InvokerInterface
  11. *
  12. */
  13. interface InvokerInterface
  14. {
  15. /**
  16. * Dispatch event
  17. *
  18. * @param array $configuration
  19. * @param \Magento\Framework\Event\Observer $observer
  20. * @return void
  21. */
  22. public function dispatch(array $configuration, \Magento\Framework\Event\Observer $observer);
  23. }