\Framework\AttributesLog

Summary

Methods
Properties
Constants
__construct()
getMiddleware()
$description
$level
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$description

$description : string

Type

string

$level

$level : string

Type

string

Methods

__construct()

__construct(string  $description = 'System Access', string  $level = 'info') : mixed

Parameters

string $description

日志描述/操作名称 (例如: "修改密码")

string $level

日志级别 (info, debug, error, warn)

Returns

mixed —

getMiddleware()

getMiddleware() : string|string[]

返回该注解关联的中间件类名 (或类名数组)

Returns

string|string[] —