class DolConfigCollector extends ConfigCollector (View source)

DolConfigCollector class

Methods

getWidgets()

Return widget settings

collect()

Return collected data

array<string, array<string, string|mixed[]>>
getConfig()

Returns an array with config data

array<string, mixed>
objectToArray(mixed $obj)

Convert an object to array

Details

getWidgets()

Return widget settings

@return array<string,array{icon?:string,widget?:string,tooltip?:string,map:string,default:string}> Array

collect()

Return collected data

@return array{count:int,messages:string[]} Array of collected data

protected array<string, array<string, string|mixed[]>> getConfig()

Returns an array with config data

Return Value

array<string, array<string, string|mixed[]>>

Array of config

protected array<string, mixed> objectToArray(mixed $obj)

Convert an object to array

Parameters

mixed $obj Object

Return Value

array<string, mixed> Array