add method to EventHandler to check if an event is actually handled
commitadda4e936d941eb285c28b57c82edd0d85e6b97e
authorAndreas Gohr <andi@splitbrain.org>
Fri, 1 Jun 2018 11:56:33 +0000 (1 13:56 +0200)
committerAndreas Gohr <andi@splitbrain.org>
Fri, 1 Jun 2018 12:01:45 +0000 (1 14:01 +0200)
tree1cf6f253f3089337099a5428c060a30330df755c
parent4445501665c8c5ed97c7f4e32e93044620181648
add method to EventHandler to check if an event is actually handled

Sometimes, preparing the data for an event is expensive and only needed
if the event is actually handled. This allows for a quick check before
actually preparing and triggering the event.
inc/events.php