class Config extends Config

Config Class

Properties

protected string $path

Methods

__construct(string $path)

Config constructor.

mixed|null
read(string $key, mixed $default = null)

No description

bool
save(string $key, mixed $value)

Will set data into cache and save to file

Details

at line 28
__construct(string $path)

Config constructor.

Parameters

string $path

Exceptions

InvalidArgumentException

at line 44
mixed|null read(string $key, mixed $default = null)

Parameters

string $key
mixed $default

Return Value

mixed|null

at line 57
bool save(string $key, mixed $value)

Will set data into cache and save to file

Parameters

string $key
mixed $value

Return Value

bool