Server
in package
Class Server
Table of Contents
- $requestUri : string
- $sslEnabled : bool
- __construct() : mixed
- Server constructor.
- requestUri() : string
- Returns the request URI for the current request.
- sslEnabled() : bool
- Returns the SSL enabled state.
Properties
$requestUri
private
string
$requestUri
$sslEnabled
private
bool
$sslEnabled
Methods
__construct()
Server constructor.
public
__construct(bool $sslEnabled, string $requestUri) : mixed
Parameters
- $sslEnabled : bool
- $requestUri : string
Return values
mixed —requestUri()
Returns the request URI for the current request.
public
requestUri() : string
Return values
string —sslEnabled()
Returns the SSL enabled state.
public
sslEnabled() : bool