PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | admin/helpers/src/platform/dispatcher/interface.php +13 -0 1.8.7 → 1.8.16 View file →
@@ -38,5 +38,18 @@
38 38 *
39 39 * @return array A list of returned values.
40 40 */
41 41 public function filter($event, array $args = []);
42 +
43 + /**
44 + * Attaches a new listerner to the specified event. Whenever the event
45 + * is fired, the attached handler will be invoked.
46 + *
47 + * @param string $event The event to observe.
48 + * @param callable $handler The callback to invoke.
49 + *
50 + * @return void
51 + *
52 + * @since 1.18.15 (J) - 1.8.15 (WP)
53 + */
54 + public function observe(string $event, $handler);
42 55 }