\Imi\Cron\ConstsUniqueLevel

任务唯一性等级

Summary

Methods
Properties
Constants
getName()
getValue()
getText()
getData()
getNames()
getValues()
getMap()
No public properties found
CURRENT
ALL
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

CURRENT

CURRENT = 'current'

ALL

ALL = 'all'

Methods

getName()

getName(mixed  $value) : string|null

根据值,获取常量名,失败返回null

Parameters

mixed $value

Returns

string|null

getValue()

getValue(string  $name) : mixed

获取值

Parameters

string $name

Returns

mixed

getText()

getText(mixed  $value) : string|null

获取文本

Parameters

mixed $value

Returns

string|null

getNames()

getNames() : array<mixed,string>

获取所有名称

Returns

array<mixed,string>

getValues()

getValues() : array

获取所有值

Returns

array

getMap()

getMap() : array

获取键值对应数组

Returns

array