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/Action/Base.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'app/Action/Base.php') diff --git a/app/Action/Base.php b/app/Action/Base.php index 14b0a3c0..5b7b3502 100644 --- a/app/Action/Base.php +++ b/app/Action/Base.php @@ -139,4 +139,15 @@ abstract class Base implements Listener return false; } + + /** + * Return class information + * + * @access public + * @return string + */ + public function __toString() + { + return get_called_class(); + } } -- cgit v1.2.3