Repository
interface Repository
Methods
bool
has(string $key)
Determine if the given configuration value exists.
mixed
get(string $key, mixed $default = null)
Get the specified configuration value.
array
all()
Get all of the configuration items for the application.
void
set(array|string $key, mixed $value = null)
Set a given configuration value.
void
prepend(string $key, mixed $value)
Prepend a value onto an array configuration value.
void
push(string $key, mixed $value)
Push a value onto an array configuration value.
Details
at line 13
bool
has(string $key)
Determine if the given configuration value exists.
at line 22
mixed
get(string $key, mixed $default = null)
Get the specified configuration value.
at line 29
array
all()
Get all of the configuration items for the application.
at line 38
void
set(array|string $key, mixed $value = null)
Set a given configuration value.
at line 47
void
prepend(string $key, mixed $value)
Prepend a value onto an array configuration value.
at line 56
void
push(string $key, mixed $value)
Push a value onto an array configuration value.