ServerDetails
in package
Class ServerDetails
Table of Contents
- $mysql : MysqlServerDetails
- $os : string
- $php : PhpServerDetails
- $webserver : string
- __construct() : mixed
- ServerDetails constructor.
- create() : ServerDetails
- Creates and returns a new ServerDetails instance.
- mysql() : MysqlServerDetails
- Returns the mysql details.
- os() : string
- Returns the name of the operating system.
- php() : PhpServerDetails
- Returns the php details.
- webserver() : string
- Returns the software name that is used for the web server.
Properties
$mysql
private
MysqlServerDetails
$mysql
$os
private
string
$os
$php
private
PhpServerDetails
$php
$webserver
private
string
$webserver
Methods
__construct()
ServerDetails constructor.
public
__construct(PhpServerDetails $php, MysqlServerDetails $mysql, string $webserver, string $os) : mixed
Parameters
- $php : PhpServerDetails
- $mysql : MysqlServerDetails
- $webserver : string
- $os : string
Return values
mixed —create()
Creates and returns a new ServerDetails instance.
public
static create(PhpServerDetails $php, MysqlServerDetails $mysql, string $webserver, string $os) : ServerDetails
Parameters
- $php : PhpServerDetails
- $mysql : MysqlServerDetails
- $webserver : string
- $os : string
Return values
ServerDetails —mysql()
Returns the mysql details.
public
mysql() : MysqlServerDetails
Return values
MysqlServerDetails —os()
Returns the name of the operating system.
public
os() : string
Return values
string —php()
Returns the php details.
public
php() : PhpServerDetails
Return values
PhpServerDetails —webserver()
Returns the software name that is used for the web server.
public
webserver() : string