Skip to content

Releases: lfyw/lfyw-enum

docs

14 Mar 01:33
Compare
Choose a tag to compare
1.1.2

Merge remote-tracking branch 'origin/main'

rebuild

11 Mar 07:03
bef0df4
Compare
Choose a tag to compare
Merge pull request #3 from lfyw/analysis-5Zr90B

Apply fixes from StyleCI

增加魔术方法静态调用

10 Mar 10:15
Compare
Choose a tag to compare

UserType::getDescriptionByValue($value):string

根据值获取注释

UserType::getDescriptionByName(string $name):string

根据名称获取注释

UserType::USER()

调用UserType::User->value,如果不是回退枚举返回null

Full Changelog: 1.0.2...1.1.0

getDescriptionByValue

10 Mar 09:14
Compare
Choose a tag to compare
1.0.2

feat: getDescriptionByValue

build

21 Jan 02:05
Compare
Choose a tag to compare
1.0.1

build

first version

21 Jan 01:28
Compare
Choose a tag to compare
1.0.0

doc: dependencies