- A lot of work done on bug fixing. Added a new SQLite adapter
This commit is contained in:
1 parent
667df92e52
commit
c14644cdda
28 files changed
+727
-234
No files matched your search
@@ -37,6 +37,8 @@ class ConnectionAdapter
|
||||
}
|
||||
|
||||
$this->adapter->setup($connection);
|
||||
|
||||
unset($this->configuration['connections'][$this->name]);
|
||||
}
|
||||
|
||||
public function getConfiguration() : array
|
||||
@@ -77,7 +79,7 @@ class ConnectionAdapter
|
||||
*/
|
||||
protected function instanciateAdapter($name) : AdapterInterface
|
||||
{
|
||||
$class = substr($name, 0, 2) === "\\" ? $name : "\\Ulmus\\Adapter\\$name";
|
||||
$class = substr($name, 0, 2) === "\\" ? $name : sprintf("\\%s\\Adapter\\%s", __NAMESPACE__, $name);
|
||||
|
||||
return new $class();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user