ConfigFromArrayTrait
Table of Contents
Methods
- createConfigFromArray() : T
- Creates a Config instance from an array.
Methods
createConfigFromArray()
Creates a Config instance from an array.
private
createConfigFromArray(T> $classname, array<string, mixed> $config) : T
Parameters
- $classname : T>
-
Config classname
- $config : array<string, mixed>