mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-02 11:48:08 +08:00
Update ListenerProviderFactory.php
This commit is contained in:
parent
046c8cc4ea
commit
3e98a9c7db
@ -44,7 +44,7 @@ class ListenerProviderFactory
|
||||
}
|
||||
if ($instance instanceof MessageListenerInterface) {
|
||||
foreach ($instance->listen() as $event) {
|
||||
$provider->on($event, [$instance, 'process']);
|
||||
$provider->on($event, [$instance, 'notify']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user