@@ -16,6 +16,9 @@ |
||
16 | 16 | protected static $connections = [], |
17 | 17 | $current = 'default'; |
18 | 18 | |
19 | + /** |
|
20 | + * @param string $name |
|
21 | + */ |
|
19 | 22 | public static function register($name, $dsn, $username=null, $password=null, $options=[]){ |
20 | 23 | return self::$connections[$name] = new SQLConnection($dsn, $username, $password, $options); |
21 | 24 | } |