longyi c9405dd336 vendor 5 years ago
..
Config c9405dd336 vendor 5 years ago
Invoker c9405dd336 vendor 5 years ago
Observer c9405dd336 vendor 5 years ago
Test c9405dd336 vendor 5 years ago
etc c9405dd336 vendor 5 years ago
Collection.php c9405dd336 vendor 5 years ago
Config.php c9405dd336 vendor 5 years ago
ConfigInterface.php c9405dd336 vendor 5 years ago
InvokerInterface.php c9405dd336 vendor 5 years ago
Manager.php c9405dd336 vendor 5 years ago
ManagerInterface.php c9405dd336 vendor 5 years ago
Observer.php c9405dd336 vendor 5 years ago
ObserverFactory.php c9405dd336 vendor 5 years ago
ObserverInterface.php c9405dd336 vendor 5 years ago
README.md c9405dd336 vendor 5 years ago
WrapperFactory.php c9405dd336 vendor 5 years ago

README.md

Event

Event library provides supports for Magento events.

  • Event manager is responsible for event configuration processing and event dispatching. All client code that dispatches events must ask for \Magento\Framework\Event\Manager in constructor.
  • Event config provides interface to retrieve related observers configuration by specified event name.
  • Event observer object passes data from the code that fires the event to the observer function. There are two special types of observer objects supported in this library: Cron, and Regex. Each one has its own unique functionality in addition to basic observer functionality.