This commit is contained in:
2021-11-09 10:58:57 +08:00
parent 2ea8e8276b
commit 4d7c9fdd17
3 changed files with 20 additions and 13 deletions
+12 -1
View File
@@ -108,6 +108,17 @@ class Connection extends Component
}
/**
* @param $config
* @return $this
*/
public function configure($config): static
{
Kiri::configure($this, $config);
return $this;
}
/**
* @throws Exception
*/
@@ -141,7 +152,7 @@ class Connection extends Component
* @return mixed
* @throws ReflectionException
* @throws NotFindClassException
* @throws \Exception
* @throws Exception
*/
public function getSchema(): Schema
{