class ConfigGenerator

Config file generation class

Methods

static string
getConfigFile(ConfigFile $cf)

Creates config file

static string|null
getServerPart(ConfigFile $cf, string $crlf, array $servers)

Generate server part of config file

Details

at line 27
static string getConfigFile(ConfigFile $cf)

Creates config file

Parameters

ConfigFile $cf Config file instance

Return Value

string

at line 158
static protected string|null getServerPart(ConfigFile $cf, string $crlf, array $servers)

Generate server part of config file

Parameters

ConfigFile $cf Config file
string $crlf Carriage return char
array $servers Servers list

Return Value

string|null