From 0806b2e5f0cf024beb5d9c08ba0dc5ad96dbd2f9 Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 7 Dec 2019 22:49:02 +0000 Subject: [PATCH] Give Event a default toString --- core/event.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/event.php b/core/event.php index db3ae5ba..be85267f 100644 --- a/core/event.php +++ b/core/event.php @@ -11,6 +11,11 @@ abstract class Event public function __construct() { } + + public function __toString() + { + return var_export($this, true); + } }