CodeIgniter v4.5 API

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>
Tags
template

T of \CodeIgniter\Config\BaseConfig

Return values
T

        
On this page

Search results