从配置中读取值
支持在注解中为属性动态赋值
$name : string
配置名,支持@app、@currentServer等用法
$default : mixed
配置不存在时,返回的默认值
$defaultFieldName : string
只传一个参数时的参数名
$data : array
数据
getRealValue() : mixed
获取注入值的真实值
__construct( $data = array())
offsetGet( $offset)
__wakeup()
offsetExists( $offset)
offsetSet( $offset, $value)
offsetUnset( $offset)
current()
key()
next()
rewind()
valid()
__set( $name, $value)
__get( $name)
__isset( $name)
__unset( $name)
toArray() : array
将当前对象作为数组返回
jsonSerialize() : array
json 序列化