State
in package
Horde Config encapsulated in an object
This is basically an injectable $GLOBALS['conf']
Tags
Table of Contents
Properties
- $conf : mixed
Methods
- __construct() : mixed
- Constructor
- toArray() : array<string|int, mixed>
- Return the config array
Properties
$conf
protected
mixed
$conf
= []
Methods
__construct()
Constructor
public
__construct([array<string|int, mixed> $conf = null ]) : mixed
The preferred way is to actually pass the config array However we fall back to $GLOBALS['conf'] for the time being
Parameters
- $conf : array<string|int, mixed> = null
-
The config tree as provided by registry
toArray()
Return the config array
public
toArray() : array<string|int, mixed>