Add more events and notifications for tasks

This commit is contained in:
Frédéric Guillot
2014-09-16 16:35:43 +02:00
parent aca4207a94
commit a76939066b
23 changed files with 174 additions and 17 deletions

View File

@@ -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
*

View File

@@ -32,6 +32,17 @@ class CommentHistoryListener implements Listener
$this->model = $model;
}
/**
* Return class information
*
* @access public
* @return string
*/
public function __toString()
{
return get_called_class();
}
/**
* Execute the action
*

View File

@@ -34,6 +34,17 @@ class ProjectModificationDate implements Listener
$this->project = $project;
}
/**
* Return class information
*
* @access public
* @return string
*/
public function __toString()
{
return get_called_class();
}
/**
* Execute the action
*

View File

@@ -32,6 +32,17 @@ class SubtaskHistoryListener implements Listener
$this->model = $model;
}
/**
* Return class information
*
* @access public
* @return string
*/
public function __toString()
{
return get_called_class();
}
/**
* Execute the action
*

View File

@@ -32,6 +32,17 @@ class TaskHistoryListener implements Listener
$this->model = $model;
}
/**
* Return class information
*
* @access public
* @return string
*/
public function __toString()
{
return get_called_class();
}
/**
* Execute the action
*

View File

@@ -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
*