ConfigCollectionInterface
interface ConfigCollectionInterface
This represents a collection of config keys and values.
Methods
mixed
get(string $class, string $name = null, int|true $excludeMiddleware)
Fetches value for a class, or a property on that class
bool
exists(string $class, string $name = null, int|true $excludeMiddleware)
Checks to see if a config item exists, or a property on that class
array
getMetadata()
Returns the entire metadata
getHistory()
No description
nest()
Get nested version of this config, which is normally duplicated version of this config, but could be a subclass.
getMiddlewares()
No description
$this
$this
array
getAll()
Get complete config (excludes middleware)
Details
at line 22
mixed
get(string $class, string $name = null, int|true $excludeMiddleware)
Fetches value for a class, or a property on that class
at line 34
bool
exists(string $class, string $name = null, int|true $excludeMiddleware)
Checks to see if a config item exists, or a property on that class
at line 41
array
getMetadata()
Returns the entire metadata
at line 48
getHistory()
at line 57
ConfigCollectionInterface
nest()
Get nested version of this config, which is normally duplicated version of this config, but could be a subclass.
at line 62
Middleware[]
getMiddlewares()
at line 68
$this
setMiddlewares(Middleware[] $middlewares)
at line 74
$this
addMiddleware(Middleware $middleware)
at line 81
array
getAll()
Get complete config (excludes middleware)