Commit 7391fbcc authored by Gábor Hojtsy's avatar Gábor Hojtsy

Issue #2891784 by FeyP: Use correct class name for EventDispatcherInterface in...

Issue #2891784 by FeyP: Use correct class name for EventDispatcherInterface in Events API documentation
parent bb46c920
......@@ -2530,8 +2530,8 @@ function hook_validation_constraint_alter(array &$definitions) {
*
* @section sec_dispatch Dispatching events
* To dispatch an event, call the
* \Symfony\Component\EventDispatcher\EventDispatchInterface::dispatch() method
* on the 'event_dispatcher' service (see the
* \Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()
* method on the 'event_dispatcher' service (see the
* @link container Services topic @endlink for more information about how to
* interact with services). The first argument is the unique event name, which
* you should normally define as a constant in a separate static class (see
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment