Skip to content

Commit 8c31575

Browse files
committed
Resolved #40 Add missing getter for PDOStatement
1 parent d533a26 commit 8c31575

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/PdoWrapper.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,14 @@ public static function getPDO($dsn, $username, $password, $config = ['attributes
215215
return self::$PDO;
216216
}
217217

218+
/**
219+
* @return \PDOStatement
220+
*/
221+
public function getSTH(): \PDOStatement
222+
{
223+
return $this->STH;
224+
}
225+
218226
/**
219227
* Return PDO Query result by index value.
220228
*

0 commit comments

Comments
 (0)