__construct()
getData()
getName()
getUseProxy()
isValid()
setProxyHeader()
setTrustedProxies()
setUseProxy()
__construct(null | string $data)
nullstring
getData() : string
string
getName() : string
string
getUseProxy() : bool
bool
Current setting value.isValid() : bool
bool
setProxyHeader(string $header) : void
string
setTrustedProxies(array $trustedProxies) : void
array
setUseProxy(bool $useProxy) : void
This must be static method, since validators are recovered automatically at session read, so this is the only way to switch setting.
bool
Whether to check also proxied IP addresses.