\Yesf\ConfigConfigInterface

Summary

Methods
Constants
get()
has()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

get()

get(string  $key, mixed  $default = null) : mixed

获取配置

Parameters

string $key

形似a.b.c的key

mixed $default

默认

Returns

mixed

has()

has(string  $key) : boolean

检查配置是否存在

Parameters

string $key

形似a.b.c的key

Returns

boolean