Skip to content

Updated to allow implementation as as singleton instance

Compare
Choose a tag to compare
@a1phanumeric a1phanumeric released this 07 Jan 09:32
· 3 commits to master since this release
7f8c3e3

You can now instantiate DBPDO as a singleton for memory & performance across your implementation using the following:

$db = DBPDO::getInstance(DB_HOST, DB_NAME, DB_USER, DB_PASS);