feat: new feature

This commit is contained in:
JaguarJack
2022-12-23 19:47:13 +08:00
parent 17f2dc4d3c
commit 81fac9f62c
38 changed files with 1019 additions and 1486 deletions

View File

@@ -36,4 +36,15 @@ enum DataRange: int implements Enum
self::Department_DOWN_Data => '部门及以下数据',
};
}
/**
* assert value
*
* @param int $value
* @return bool
*/
public function assert(int $value): bool
{
return $this->value === $value;
}
}