diff options
Diffstat (limited to 'lib/private/Diagnostics/Event.php')
-rw-r--r-- | lib/private/Diagnostics/Event.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Diagnostics/Event.php b/lib/private/Diagnostics/Event.php index 95b737155dc..0c3aa6ae29c 100644 --- a/lib/private/Diagnostics/Event.php +++ b/lib/private/Diagnostics/Event.php @@ -100,4 +100,8 @@ class Event implements IEvent { } return $this->end - $this->start; } + + public function __toString() { + return $this->getId() . ' ' . $this->getDescription() . ' ' . $this->getDuration(); + } } |