UserAgentHeader
in package
implements
Stringable
Table of Contents
Interfaces
- Stringable
Methods
- __construct() : mixed
- __toString() : string
- getUserAgent() : string
- parse() : UserAgentHeader
Methods
__construct()
public
__construct(string $userAgent) : mixed
Parameters
- $userAgent : string
__toString()
public
__toString() : string
Return values
stringgetUserAgent()
public
getUserAgent() : string
Return values
stringparse()
public
static parse(HttpHeader $header) : UserAgentHeader
Parameters
- $header : HttpHeader