ParseConfig

Class ParseConfig - For accessing Parse Config settings.

author

Fosco Marotto fjm@fb.com

package

Parse

Methods

ParseConfig constructor.

__construct() 

Gets a config value with html characters encoded

escape(string $key) : string|null

Arguments

$key

string

Key of value to get

Response

string|null

Gets a config value

get(string $key) : mixed

Arguments

$key

string

Key of value to get

Response

mixed

Gets the current config

getConfig() : array

Response

array

Saves the current config

save() : boolean

Response

boolean

Sets a config value

set(string $key, mixed $value) 

Arguments

$key

string

Key to set value on

$value

mixed

Value to set

Sets the config

setConfig(array $config) 

Arguments

$config

array

Config to set

Properties

Current configuration data

currentConfig : array
var

Type(s)

array