메소드 | 설명 | |
---|---|---|
__construct ( array | ArrayAccess $serverData = null, array $extraFields = null ) | ||
getClientIp ( ) | ||
getHost ( ) | ||
getMethod ( ) | ||
getReferer ( ) | ||
getRequestUri ( ) | ||
getUserAgent ( ) |
public __construct ( array | ArrayAccess $serverData = null, array $extraFields = null ) | ||
$serverData | array | ArrayAccess | Array or object w/ ArrayAccess that provides access to the $_SERVER data |
$extraFields | array | Extra field names to be added (all available by default) |