This commit is contained in:
2021-02-04 18:22:55 +08:00
parent 6e66984197
commit ec0d135207
+10
View File
@@ -264,6 +264,16 @@ class Snowflake
}
/**
* @return mixed
*/
public static function localhost(): mixed
{
return Snowflake::app()->getFirstLocal();
}
/**
* @param string $class
* @param array $params