summaryrefslogtreecommitdiffstats
path: root/lib/public/diagnostics/iquerylogger.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/diagnostics/iquerylogger.php')
-rw-r--r--lib/public/diagnostics/iquerylogger.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/public/diagnostics/iquerylogger.php b/lib/public/diagnostics/iquerylogger.php
index 8c51c35ae36..4a6a0d0704b 100644
--- a/lib/public/diagnostics/iquerylogger.php
+++ b/lib/public/diagnostics/iquerylogger.php
@@ -24,18 +24,30 @@ namespace OCP\Diagnostics;
use Doctrine\DBAL\Logging\SQLLogger;
+/**
+ * Interface IQueryLogger
+ *
+ * @package OCP\Diagnostics
+ * @since 8.0.0
+ */
interface IQueryLogger extends SQLLogger {
/**
* @param string $sql
* @param array $params
* @param array $types
+ * @since 8.0.0
*/
public function startQuery($sql, array $params = null, array $types = null);
+ /**
+ * @return mixed
+ * @since 8.0.0
+ */
public function stopQuery();
/**
* @return \OCP\Diagnostics\IQuery[]
+ * @since 8.0.0
*/
public function getQueries();
}