Skip to content

Commit a96a2df

Browse files
committed
Fix EventListenerInterface namespace
1 parent d02274a commit a96a2df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Writerside/topics/02.the-basics/events.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ $app->on(Event::class, function (Event $e) { ... });
188188

189189
## Event Listener
190190

191-
The `Boson\Dispatcher\EventListenerInterface` provides a way to subscribe to
192-
and handle events in the Boson application. It allows you to register callbacks
193-
that will be executed when specific events occur.
191+
The `Boson\Contracts\EventListener\EventListenerInterface` provides a way to
192+
subscribe to and handle events in the Boson application. It allows you to
193+
register callbacks that will be executed when specific events occur.
194194

195195
### Listen Events
196196

0 commit comments

Comments
 (0)