diff options
Diffstat (limited to 'app/Event')
-rw-r--r-- | app/Event/BaseNotificationListener.php | 11 | ||||
-rw-r--r-- | app/Event/CommentHistoryListener.php | 11 | ||||
-rw-r--r-- | app/Event/ProjectModificationDate.php | 11 | ||||
-rw-r--r-- | app/Event/SubtaskHistoryListener.php | 11 | ||||
-rw-r--r-- | app/Event/TaskHistoryListener.php | 11 | ||||
-rw-r--r-- | app/Event/WebhookListener.php | 11 |
6 files changed, 66 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 diff --git a/app/Event/CommentHistoryListener.php b/app/Event/CommentHistoryListener.php index a89ecbae..e5e92b01 100644 --- a/app/Event/CommentHistoryListener.php +++ b/app/Event/CommentHistoryListener.php @@ -33,6 +33,17 @@ class CommentHistoryListener implements Listener } /** + * Return class information + * + * @access public + * @return string + */ + public function __toString() + { + return get_called_class(); + } + + /** * Execute the action * * @access public diff --git a/app/Event/ProjectModificationDate.php b/app/Event/ProjectModificationDate.php index 8fbaee73..d0d1e846 100644 --- a/app/Event/ProjectModificationDate.php +++ b/app/Event/ProjectModificationDate.php @@ -35,6 +35,17 @@ class ProjectModificationDate implements Listener } /** + * Return class information + * + * @access public + * @return string + */ + public function __toString() + { + return get_called_class(); + } + + /** * Execute the action * * @access public diff --git a/app/Event/SubtaskHistoryListener.php b/app/Event/SubtaskHistoryListener.php index e859828c..8cc7a7fd 100644 --- a/app/Event/SubtaskHistoryListener.php +++ b/app/Event/SubtaskHistoryListener.php @@ -33,6 +33,17 @@ class SubtaskHistoryListener implements Listener } /** + * Return class information + * + * @access public + * @return string + */ + public function __toString() + { + return get_called_class(); + } + + /** * Execute the action * * @access public diff --git a/app/Event/TaskHistoryListener.php b/app/Event/TaskHistoryListener.php index c8a880e8..d963fa71 100644 --- a/app/Event/TaskHistoryListener.php +++ b/app/Event/TaskHistoryListener.php @@ -33,6 +33,17 @@ class TaskHistoryListener implements Listener } /** + * Return class information + * + * @access public + * @return string + */ + public function __toString() + { + return get_called_class(); + } + + /** * Execute the action * * @access public 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 @@ -43,6 +43,17 @@ class WebhookListener implements Listener } /** + * Return class information + * + * @access public + * @return string + */ + public function __toString() + { + return get_called_class(); + } + + /** * Execute the action * * @access public |