interface
Illuminate
/
Contracts
/
Config
/
Repository
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
Repository
Methods
public
has ( $key ) : bool
Determine if the given configuration value exists.
Parameters
- $key string
public
get ( $key , $default ) : mixed
Get the specified configuration value.
Parameters
- $key array|string
- $default mixed
public
all ( ) : array
Get all of the configuration items for the application.
public
set ( $key , $value ) : void
Set a given configuration value.
Parameters
- $key array|string
- $value mixed
public
prepend ( $key , $value ) : void
Prepend a value onto an array configuration value.
Parameters
- $key string
- $value mixed
public
push ( $key , $value ) : void
Push a value onto an array configuration value.
Parameters
- $key string
- $value mixed