Repository
in
Table of Contents
- all() : array<string|int, mixed>
- Get all of the configuration items for the application.
- get() : mixed
- Get the specified configuration value.
- has() : bool
- Determine if the given configuration value exists.
- prepend() : void
- Prepend a value onto an array configuration value.
- push() : void
- Push a value onto an array configuration value.
- set() : void
- Set a given configuration value.
Methods
all()
Get all of the configuration items for the application.
public
all() : array<string|int, mixed>
Return values
array<string|int, mixed> —get()
Get the specified configuration value.
public
get(array<string|int, mixed>|string $key[, mixed $default = null ]) : mixed
Parameters
- $key : array<string|int, mixed>|string
- $default : mixed = null
Return values
mixed —has()
Determine if the given configuration value exists.
public
has(string $key) : bool
Parameters
- $key : string
Return values
bool —prepend()
Prepend a value onto an array configuration value.
public
prepend(string $key, mixed $value) : void
Parameters
- $key : string
- $value : mixed
Return values
void —push()
Push a value onto an array configuration value.
public
push(string $key, mixed $value) : void
Parameters
- $key : string
- $value : mixed
Return values
void —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