- Now connecting on first use, instead of automatically on bootstrap

This commit is contained in:
Dave Mc Nicoll 2023-01-24 13:37:13 +00:00
parent cca905b8ae
commit 719eef4e33
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class ConnectionAdapter extends \Ulmus\ConnectionAdapter
public function connector() : object public function connector() : object
{ {
return $this->connection; return isset($this->connection) ? $this->connection : $this->connect()->connection;
} }
public function adapter() : AdapterInterface public function adapter() : AdapterInterface