HostHeader
in package
Table of Contents
Methods
- __construct() : mixed
- getHost() : string
- getPort() : int
- hasPort() : bool
- parse() : HostHeader
Methods
__construct()
public
__construct(string $host, int $port) : mixed
Parameters
- $host : string
- $port : int
getHost()
public
getHost() : string
Return values
stringgetPort()
public
getPort() : int
Return values
inthasPort()
public
hasPort() : bool
Return values
boolparse()
public
static parse(HttpHeader $header) : HostHeader
Parameters
- $header : HttpHeader