diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-07 17:30:26 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-21 15:25:47 +0200 |
commit | 516f7e8299c309ed909259c90c23cb0ce6a8e4f7 (patch) | |
tree | 03c08ccc855031fc81c2ef5e69b9510614b1707a /lib/public/db/querybuilder/iparameter.php | |
parent | de348180ae257017a9a2af05dac72286bf262bed (diff) | |
download | nextcloud-server-516f7e8299c309ed909259c90c23cb0ce6a8e4f7.tar.gz nextcloud-server-516f7e8299c309ed909259c90c23cb0ce6a8e4f7.zip |
Add unit tests and automatic quoting
Diffstat (limited to 'lib/public/db/querybuilder/iparameter.php')
-rw-r--r-- | lib/public/db/querybuilder/iparameter.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/public/db/querybuilder/iparameter.php b/lib/public/db/querybuilder/iparameter.php new file mode 100644 index 00000000000..0eb525b3522 --- /dev/null +++ b/lib/public/db/querybuilder/iparameter.php @@ -0,0 +1,29 @@ +<?php +/** + * @author Joas Schilling <nickvergessen@owncloud.com> + * + * @copyright Copyright (c) 2015, ownCloud, Inc. + * @license AGPL-3.0 + * + * This code is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, version 3, + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License, version 3, + * along with this program. If not, see <http://www.gnu.org/licenses/> + * + */ +namespace OCP\DB\QueryBuilder; + +interface IParameter { + /** + * @return string + * @since 8.2.0 + */ + public function __toString(); +} |