server/lib/public/diagnostics/iquery.php
2014-10-20 13:38:38 +02:00

26 lines
420 B
PHP

<?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();
}