This commit is contained in:
2021-12-08 11:45:19 +08:00
parent 80713788c9
commit 5aad8d2001
+14
View File
@@ -19,6 +19,20 @@ class NoteManager
private static array $_mapping = []; private static array $_mapping = [];
/**
* @return void
*/
public static function clear()
{
static::$_classTarget = [];
static::$_classMethodNote = [];
static::$_classMethod = [];
static::$_classPropertyNote = [];
static::$_classProperty = [];
static::$_mapping = [];
}
/** /**
* @param ReflectionClass $class * @param ReflectionClass $class
*/ */