Documentation

Configuration

Table of Contents

get()  : mixed
Get the specified configuration value.
has()  : bool
Determine if the given configuration value exists.
set()  : void
Set a given configuration value.

Methods

get()

Get the specified configuration value.

public get(string $key[, mixed $default = null ]) : mixed
Parameters
$key : string
$default : mixed = null
Tags
since
1.0.0
Return values
mixed

has()

Determine if the given configuration value exists.

public has(string $key) : bool
Parameters
$key : string
Tags
since
1.0.0
Return values
bool

set()

Set a given configuration value.

public set(array<string|int, mixed>|string $key[, mixed $value = null ]) : void
Parameters
$key : array<string|int, mixed>|string
$value : mixed = null
Tags
since
1.0.0
Return values
void

Search results