Multiple Listeners (Handlers) on Event Is it possible to register multiple EventHandlers?
I mean something like this:
    Event::on(
        Entry::class,
        Entry::EVENT_AFTER_SAVE,[
           NotifyWhenCookPostedArticle::handle,
           RunSomethingElse::handle,
           DeSomethingDifferent::handle
        ]

I tried it and got a PHP Warning – yii\base\ErrorException call_user_func() expects parameter 1 to be a valid callback, second array member is not a valid method
Is there a notation or helper to get this to work?
Thanks in advance .
Michael
I don't think that syntax is possible, and in any case it could get a bit confusing. Why not simply use a single anonymous function and then call your individual handlers inside that e.g.
Event::on(
    Entry::class,
    Entry::EVENT_AFTER_SAVE, function(Event $event) {
        $this-&gt;NotifyWhenCookPostedArticle();
        $this-&gt;RunSomethingElse();
        $this-&gt;DoSomethingDifferent();
    }
);

public function NotifyWhenCookPostedArticle() {
    return 'woop';
}

(Depending on how separate those things are and/or how large and complex you expect the site to be/become, you would typically abstract them further into your Services layer for reusability and encapsulation).