This commit is contained in:
as2252258@163.com
2021-08-04 01:09:14 +08:00
parent f5204f01e6
commit fa4b1197c6
+11
View File
@@ -458,6 +458,17 @@ abstract class BaseApplication extends Component
}
/**
* @param $array
* @throws \ReflectionException
* @throws \Snowflake\Exception\NotFindClassException
*/
public function set($id, $definition): void
{
di(Service::class)->set($id, $definition);
}
/**
* @throws Exception