diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-16 17:00:08 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-16 17:00:08 +0200 |
commit | 7644950b48b094bfe5675348aefb7cf5747d325b (patch) | |
tree | a1792e21239a86f471da99b454134a5d8533ef77 /lib/public/diagnostics/ieventlogger.php | |
parent | 8653da6c16597959c7bd0f0b202747ff96204575 (diff) | |
download | nextcloud-server-7644950b48b094bfe5675348aefb7cf5747d325b.tar.gz nextcloud-server-7644950b48b094bfe5675348aefb7cf5747d325b.zip |
Add @since tags to all methods in public namespace
* enhance the app development experience - you can look up the
method introduction right inside the code without searching
via git blame
* easier to write apps for multiple versions
Diffstat (limited to 'lib/public/diagnostics/ieventlogger.php')
-rw-r--r-- | lib/public/diagnostics/ieventlogger.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/diagnostics/ieventlogger.php b/lib/public/diagnostics/ieventlogger.php index cc10862fc79..c9b4653393b 100644 --- a/lib/public/diagnostics/ieventlogger.php +++ b/lib/public/diagnostics/ieventlogger.php @@ -22,12 +22,19 @@ namespace OCP\Diagnostics; +/** + * Interface IEventLogger + * + * @package OCP\Diagnostics + * @since 8.0.0 + */ interface IEventLogger { /** * Mark the start of an event * * @param string $id * @param string $description + * @since 8.0.0 */ public function start($id, $description); @@ -35,6 +42,7 @@ interface IEventLogger { * Mark the end of an event * * @param string $id + * @since 8.0.0 */ public function end($id); @@ -43,11 +51,13 @@ interface IEventLogger { * @param string $description * @param float $start * @param float $end + * @since 8.0.0 */ public function log($id, $description, $start, $end); /** * @return \OCP\Diagnostics\IEvent[] + * @since 8.0.0 */ public function getEvents(); } |