\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
Inherited methods
ƒ getServiceStatic
public static getServiceStatic(string $service): mixed
- This method is static.
Parameters
| Parameter |
Type |
Description |
$service |
string |
|
ƒ setDebugLevel
public setDebugLevel(int $level): void
Parameters
| Parameter |
Type |
Description |
$level |
int |
|
ƒ getDebugLevel
public getDebugLevel(): int
ƒ getService
public getService(string $service): mixed
Parameters
| Parameter |
Type |
Description |
$service |
string |
|
ƒ env
public env(): \Hubleto\Framework\Interfaces\EnvInterface
ƒ authProvider
public authProvider(): \Hubleto\Framework\Interfaces\AuthInterface
ƒ db
public db(): \Hubleto\Framework\Interfaces\DbInterface
ƒ appManager
public appManager(): \Hubleto\Framework\Interfaces\AppManagerInterface
ƒ router
public router(): \Hubleto\Framework\Interfaces\RouterInterface
ƒ hookManager
public hookManager(): \Hubleto\Framework\Interfaces\HookManagerInterface
ƒ sessionManager
public sessionManager(): \Hubleto\Framework\Interfaces\SessionManagerInterface
ƒ permissionsManager
public permissionsManager(): \Hubleto\Framework\Interfaces\PermissionsManagerInterface
ƒ cronManager
public cronManager(): \Hubleto\Framework\Interfaces\CronManagerInterface
ƒ emailProvider
public emailProvider(): \Hubleto\Framework\Interfaces\EmailProviderInterface
ƒ config
public config(): \Hubleto\Framework\Interfaces\ConfigManagerInterface
ƒ logger
public logger(): \Hubleto\Framework\Interfaces\LoggerInterface
ƒ locale
public locale(): \Hubleto\Framework\Interfaces\LocaleInterface
ƒ renderer
public renderer(): \Hubleto\Framework\Interfaces\RendererInterface
ƒ translator
public translator(): \Hubleto\Framework\Interfaces\TranslatorInterface
ƒ getModel
public getModel(string $model): \Hubleto\Framework\Interfaces\ModelInterface
Parameters
| Parameter |
Type |
Description |
$model |
string |
|
ƒ getController
public getController(string $controller): \Hubleto\Framework\Interfaces\ControllerInterface
Parameters
| Parameter |
Type |
Description |
$controller |
string |
|
ƒ translate
public translate(string $string, array $vars = [], string $contextInner = ''): string
Parameters
| Parameter |
Type |
Description |
$string |
string |
|
$vars |
array |
|
$contextInner |
string |
|