Skip to content

Commit

Permalink
expose internal PDO instance
Browse files Browse the repository at this point in the history
  • Loading branch information
mindplay-dk committed May 19, 2017
1 parent f5e696e commit 7c0e7cd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/framework/pdo/PDOConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 7c0e7cd

Please sign in to comment.