v0

\Hubleto\Framework\Interfaces\ConfigManagerInterface

Methods

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.