summaryrefslogtreecommitdiff
path: root/app/Event/BaseNotificationListener.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-16 16:35:43 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-16 16:35:43 +0200
commita76939066b01b9dd39ff44a8d3aa3165dc7b3eaf (patch)
tree0687c85ec5714f82ad56000e17f69b373736ffd3 /app/Event/BaseNotificationListener.php
parentaca4207a94200ce4033de57baabc69afe5e3804e (diff)
Add more events and notifications for tasks
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