summaryrefslogtreecommitdiff
path: root/app/Event/BaseNotificationListener.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Event/BaseNotificationListener.php')
-rw-r--r--app/Event/BaseNotificationListener.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Event/BaseNotificationListener.php b/app/Event/BaseNotificationListener.php
index 6c1728cb..fdabaf57 100644
--- a/app/Event/BaseNotificationListener.php
+++ b/app/Event/BaseNotificationListener.php
@@ -52,6 +52,17 @@ abstract class BaseNotificationListener implements Listener
}
/**
+ * Return class information
+ *
+ * @access public
+ * @return string
+ */
+ public function __toString()
+ {
+ return get_called_class();
+ }
+
+ /**
* Execute the action
*
* @access public