\Hubleto\Framework\Interfaces\ConfigManagerInterface
Methods
ƒ forApp
public forApp(string $appClass): mixed
Parameters
| Parameter |
Type |
Description |
$appClass |
string |
|
ƒ setPrefix
public setPrefix(string $prefix): mixed
Parameters
| Parameter |
Type |
Description |
$prefix |
string |
|
ƒ setConfig
public setConfig(array $configData): mixed
Parameters
| Parameter |
Type |
Description |
$configData |
array |
|
ƒ empty
public empty(string $path): bool
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
ƒ get
public get(string $path = '', mixed $default = null): mixed
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$default |
mixed |
|
ƒ getAsString
public getAsString(string $path, string $defaultValue = ''): string
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$defaultValue |
string |
|
ƒ getAsInteger
public getAsInteger(string $path, int $defaultValue): int
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$defaultValue |
int |
|
ƒ getAsFloat
public getAsFloat(string $path, float $defaultValue): float
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$defaultValue |
float |
|
ƒ getAsBool
public getAsBool(string $path, bool $defaultValue = false): bool
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$defaultValue |
bool |
|
ƒ getAsArray
public getAsArray(string $path, array $defaultValue = []): array
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$defaultValue |
array |
|
ƒ set
public set(string $path, mixed $value): void
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$value |
mixed |
|
ƒ save
public save(string $path, string $value): void
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$value |
string |
|
ƒ saveForUser
public saveForUser(string $path, string $value): void
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$value |
string |
|
ƒ delete
public delete(mixed $path): void
Parameters
| Parameter |
Type |
Description |
$path |
mixed |
|
ƒ init
public init(): void
ƒ filterByUser
public filterByUser(): void
www.hubleto.com |
Found a bug or missing something? Report an
issue via GitHub.