summaryrefslogtreecommitdiffstats
path: root/lib/public/irequest.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/irequest.php')
-rw-r--r--lib/public/irequest.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/irequest.php b/lib/public/irequest.php
index 988b3aebd7b..b5ea1fa95da 100644
--- a/lib/public/irequest.php
+++ b/lib/public/irequest.php
@@ -127,4 +127,11 @@ interface IRequest {
* @return bool true if CSRF check passed
*/
public function passesCSRFCheck();
+
+ /**
+ * Returns an ID for the request, value is not guaranteed to be unique and is mostly meant for logging
+ * If `mod_unique_id` is installed this value will be taken.
+ * @return string
+ */
+ public function getId();
}