__construct() __construct(\Yesf\Config\Adapter\array/string $conf) Constructor Parameters \Yesf\Config\Adapter\array/string $conf Apollo config
refresh() refresh(boolean $force = false) Refresh all configs Parameters boolean $force Is force refresh or not
get() get(string $key, mixed $default = null) : mixed 获取配置 Parameters string $key 形似a.b.c的key mixed $default 默认 Returns mixed
getClient() getClient(string $namespace) : object Get HTTP Client Parameters string $namespace Returns object
update() update(string $namespace, array $config) Update cache with result Parameters string $namespace array $config