Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Gush
Config
has
Gush\Config::has PHP Method
Config Class Documentation
显示文件
Open project: gushphp/gush
has()
public
method
Note. A value with null is considered undefined.
public
has
(
string
$key
,
string
$type
= self::CONFIG_ALL ) :
boolean
$key
string
Single level key like "adapters" or property-path "[adapters][github]"
$type
string
Either Config::CONFIG_SYSTEM Config::CONFIG_LOCAL or Config::CONFIG_ALL
return
boolean
public function has($key, $type = self::CONFIG_ALL) { return null !== $this->get($key, $type); }
Config
__construct
get
getFirstNotNull
guardConfigSlot
has
merge
set
toArray