class ConfigArray

internal  
 

A config array whose keys are known, so ConfigParser can compose config sources without typing their values. Each value is another config array, an expression in a config file (typed when a lookup reaches it), a type, or null when unknown.

Methods

__construct(array $entries = [], array $optionalKeys = [], bool $open = false)

Create a new config array instance.

Details

at line 26
__construct(array $entries = [], array $optionalKeys = [], bool $open = false)

Create a new config array instance.

Parameters

array $entries
array $optionalKeys

the keys that may be absent

bool $open

whether keys besides the entries may be present