Documentation

pm_WebServer_Nginx extends pm_WebServer_Abstract
in package
implements pm_WebServer_Interface

Nginx proxy service interface

Tags
since
18.0

Interfaces, Classes and Traits

pm_WebServer_Interface
Web server service interface

Table of Contents

__construct()  : mixed
getParameter()  : string|null
Get web server parameter
isEnabled()  : bool
Check whether the server is enabled
isInstalled()  : bool
Check whether the server is installed
isRunning()  : bool
Check whether the server is running

Methods

__construct()

public __construct() : mixed
Return values
mixed

getParameter()

Get web server parameter

public getParameter(string $name) : string|null
Parameters
$name : string

Parameter name (see constants)

Tags
throws
pm_Exception

If requested parameter is not known

since
18.0.47
Return values
string|null

isEnabled()

Check whether the server is enabled

public isEnabled() : bool
Return values
bool

isInstalled()

Check whether the server is installed

public isInstalled() : bool
Return values
bool

isRunning()

Check whether the server is running

public isRunning() : bool
Return values
bool

Search results