PHP Environment

LoadInterface

Describes Load interface.

Table of Contents

Methods

load()  : static
Return an instance with loaded data from array.
loadIni()  : static
Return an instance with loaded data from ini file.
loadJson()  : static
Return an instance with loaded data from json file.

Methods

load()

Return an instance with loaded data from array.

public load(array<string, mixed> $Data) : static
Parameters
$Data : array<string, mixed>

The load data.

Tags
throws
InvalidArgumentException

If error.

Return values
static

loadIni()

Return an instance with loaded data from ini file.

public loadIni(string $Filename) : static
Parameters
$Filename : string

The ini filename.

Tags
throws
InvalidArgumentException

If error.

Return values
static

loadJson()

Return an instance with loaded data from json file.

public loadJson(string $Filename) : static
Parameters
$Filename : string

The ini filename.

Tags
throws
InvalidArgumentException

If error.

Return values
static

        
On this page

Search results