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/WebhookListener.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'app/Event/WebhookListener.php') diff --git a/app/Event/WebhookListener.php b/app/Event/WebhookListener.php index 4668b66e..c2f6d56a 100644 --- a/app/Event/WebhookListener.php +++ b/app/Event/WebhookListener.php @@ -42,6 +42,17 @@ class WebhookListener implements Listener $this->webhook = $webhook; } + /** + * Return class information + * + * @access public + * @return string + */ + public function __toString() + { + return get_called_class(); + } + /** * Execute the action * -- cgit v1.2.3