BedrioxDOCUMENTATION
API INTERFACE

Configuration

Public interface in Bedriox\Api\Plugin\Data.

Bedriox\Api\Plugin\Data\Configuration
interfaceBedriox\Api\Plugin\Data

Public methods

has(string $key): bool

Typed public method.

get(string $key, mixed $default = null): mixed

Typed public method.

getString(string $key, string $default = ''): string

Typed public method.

getInt(string $key, int $default = 0): int

Typed public method.

getFloat(string $key, float $default = 0.0): float

Typed public method.

getBool(string $key, bool $default = false): bool

Typed public method.

getList(string $key, array $default = []): array

Typed public method.

getMap(string $key, array $default = []): array

Typed public method.

set(string $key, mixed $value): void

Typed public method.

remove(string $key): void

Typed public method.

all(): array

Typed public method.

save(): void

Typed public method.

reload(): void

Typed public method.

View exact source ↗