Method | Description | |
---|---|---|
setDelimiter ( string $delimiter ) | Set delimiting character for nested properties, ex: a.b.c or a-b-c | |
useSections ( boolean $useSections ) | Should parser use sections or not, ex: [section] |
Method | Description | |
---|---|---|
getArrayInternal ( ) : array | Parse config resource and build config array | |
getStringInternal ( ) : string | Get config data as string |
Method | Description | |
---|---|---|
getIni ( $data ) | ||
getSection ( &$ini, $prefix ) | ||
parseIniString ( array $data ) : array | Parse INI string and return config array | |
processValue ( string $section, string | array $value, array $config = [] ) : array | Process given section and it's value Config array is empty by default, but it's a nested recursive call, it will be populated with data from previous calls | |
setValue ( $val ) | ||
validateSection ( |
protected getArrayInternal ( ) : array | ||
return | array |
protected getStringInternal ( ) : string | ||
return | string |
public setDelimiter ( string $delimiter ) | ||
$delimiter | string | Default: '.' |
public useSections ( boolean $useSections ) | ||
$useSections | boolean | Default: true |