Fist step to #4

This commit is contained in:
2019-04-22 21:51:00 -03:00
parent e3b1ba9516
commit 686388228d
Regular → Executable
+2 -2
View File
@@ -25,11 +25,11 @@ class Connections {
return self::$_connections;
}
public static function add_connection($pdo, $name = 'default') {
public static function addConnection($pdo, $name = 'default') {
self::getInstance()->connections[$name] = $pdo;
}
public static function get_connection($name = 'default') {
public static function getConnection($name = 'default') {
return self::getInstance()->connections[$name];
}