Skip to content

Commit 7356e61

Browse files
authored
Update readme.md
1 parent 7f8c3e3 commit 7356e61

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ To use in your project, use the following:
2525

2626
`$DB = new DBPDO('db_host', 'db_name', 'db_user', 'db_pass');`
2727

28+
Or, if wanting to use as a singleton instance:
29+
30+
`$DB = DBPDO::getInstance('db_host', 'db_name', 'db_user', 'db_pass');`
31+
2832
### Setup Before v2.0
2933
-----
3034

0 commit comments

Comments
 (0)