This commit is contained in:
2021-04-25 16:16:13 +08:00
parent d331ce4349
commit 05cd3dde9e
3 changed files with 54 additions and 18 deletions
+11
View File
@@ -72,6 +72,17 @@ class Snowflake
return static::app()->set($alias, $array);
}
/**
* @param string $name
* @return mixed
* @throws Exception
*/
public static function getApp(string $name): mixed
{
return static::app()->get($name);
}
/**
* @return Application|null
*/