summaryrefslogtreecommitdiffstats
path: root/lib/public/diagnostics/iquery.php
blob: f1111e069bb4e185b9fe3cc90832f179d2a81b85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
/**
 * Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
 * This file is licensed under the Affero General Public License version 3 or
 * later.
 * See the COPYING-README file.
 */

namespace OCP\Diagnostics;

interface IQuery {
	/**
	 * @return string
	 */
	public function getSql();

	/**
	 * @return array
	 */
	public function getParams();

	/**
	 * @return float
	 */
	public function getDuration();
}