class Config (View source)

The Config class.

Methods

static 
json(string $file)

Read configuration overrides form JSON file and set constants accordingly.

static 
set(string $name, string $value)

Define constant, if not defined already.

Details

static json(string $file)

Read configuration overrides form JSON file and set constants accordingly.

Parameters

string $file

static set(string $name, string $value)

Define constant, if not defined already.

Parameters

string $name
string $value