Closed Schlaefer closed 9 years ago
Extends the Event::register to also accept callables:
Event::registerEvent('before_foo', function($data) { … } ); // or Event::registerEvent('before_foo', [$myClassInstance, 'method']);
merged in e9478af6582e075bc531e02130b0162256d5bb80
Extends the Event::register to also accept callables: