InspectCommand
class InspectCommand extends Command
检查代码规则
Traits
Key 解析器 解析 key 字串到 namespace, group 和 item.
Properties
protected array | $keyParserCache | 解析的缓存存储 这里的命名方式, 因为是在 trait 中使用 所以这里的缓存的命名前面加上了 trait 的前缀 keyParser |
from KeyParserTrait |
protected string | $signature | The name and signature of the console command. |
|
protected string | $description | The console command description. |
Methods
void
handle()
Execute the console command.
Details
in
KeyParserTrait at line 27
KeyParserTrait
setParsedKey(string $key, array $parsed)
根据 key 设置值
in
KeyParserTrait at line 38
bool
keyParserMatch(string $key)
Check Key valid
in
KeyParserTrait at line 52
array
parseKey(string $key)
解析 key 至 namespace, group, and item.
in
KeyParserTrait at line 81
protected array
keyParserParseBasicSegments(array $segments)
解析数值中的基本片段并且返回可用的数组
in
KeyParserTrait at line 103
protected array
keyParserParseSegments(string $key)
解析一系列命名空间的片段
in
CoreTrait at line 16
ModuleManager
coreModule()
获取核心的模块
in
CoreTrait at line 25
PermissionManager
corePermission()
权限管理
at line 58
void
handle()
Execute the console command.