Extend PHP's PDO class to add some more functionality

package miniMVC
subpackage System

 Methods

Indexed singleton method

get_instance(string $dbname, array $options) : \DB

Parameters

$dbname

string

$options

array

Returns

Returns the last error from the database

get_last_error() : string

Returns

string

 Properties

 

DB connection instances

$instance : array