From 7c0e7cdf20140fec39804322c896798bc5ecb04d Mon Sep 17 00:00:00 2001 From: Rasmus Schultz Date: Fri, 19 May 2017 13:06:59 +0200 Subject: [PATCH] expose internal `PDO` instance --- src/framework/pdo/PDOConnection.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/framework/pdo/PDOConnection.php b/src/framework/pdo/PDOConnection.php index f14d0be..6c5ac3a 100644 --- a/src/framework/pdo/PDOConnection.php +++ b/src/framework/pdo/PDOConnection.php @@ -61,6 +61,14 @@ public function __construct(PDO $pdo, TypeProvider $types) $this->types = $types; } + /** + * @return PDO the internal PDO connection object + */ + public function getPDO() + { + return $this->pdo; + } + /** * @inheritdoc */