From a76939066b01b9dd39ff44a8d3aa3165dc7b3eaf Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 16 Sep 2014 16:35:43 +0200 Subject: Add more events and notifications for tasks --- app/Event/BaseNotificationListener.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'app/Event/BaseNotificationListener.php') 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 @@ -51,6 +51,17 @@ abstract class BaseNotificationListener implements Listener $this->notification = $notification; } + /** + * Return class information + * + * @access public + * @return string + */ + public function __toString() + { + return get_called_class(); + } + /** * Execute the action * -- cgit v1.2.3