summaryrefslogtreecommitdiffstats
path: root/lib/public/idbconnection.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/idbconnection.php')
-rw-r--r--lib/public/idbconnection.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/idbconnection.php b/lib/public/idbconnection.php
index d7cce2e818b..ce17d293e86 100644
--- a/lib/public/idbconnection.php
+++ b/lib/public/idbconnection.php
@@ -150,4 +150,12 @@ interface IDBConnection {
* @return string The quoted parameter.
*/
public function quote($input, $type = \PDO::PARAM_STR);
+
+ /**
+ * Gets the DatabasePlatform instance that provides all the metadata about
+ * the platform this driver connects to.
+ *
+ * @return \Doctrine\DBAL\Platforms\AbstractPlatform The database platform.
+ */
+ public function getDatabasePlatform();
}