protected const LOG_LEVEL_PREFIX = 'LOG_'
private array $capabilities
public __construct(array $options): void
Parameter | Type | Description |
---|
$options | array | |
public setDefaultOption(string $key, mixed $value): void
Parameter | Type | Description |
---|
$key | string | |
$value | mixed | |
public setOption(string $key, mixed $value): void
Parameter | Type | Description |
---|
$key | string | |
$value | mixed | |
public getOption(string $key): mixed
Parameter | Type | Description |
---|
$key | string | |
public hasOption(string $key): bool
Parameter | Type | Description |
---|
$key | string | |
public getLogLevelId(string $level): int
Parameter | Type | Description |
---|
$level | string | |
public getLogLevelName(int $level): string
Parameter | Type | Description |
---|
$level | int | |
public getCapabilities(): void
public can(string $capability): bool
Parameter | Type | Description |
---|
$capability | string | |
protected addCapability(string $capability): void
Parameter | Type | Description |
---|
$capability | string | |
Generated by Hazaar API Doc Generator