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