ConfigCollectionInterface
interface ConfigCollectionInterface (View source)
This represents a collection of config keys and values.
Methods
                    public                                                                            
                
                    mixed
                
                                
                    get(string $class, string $name = null, int|true $excludeMiddleware = 0)
        
                                            
                
            Fetches value for a class, or a property on that class
                    public                                                                            
                
                    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
                    public                                                                            
                
                                
                    nest()
        
                                            
                
            Get nested version of this config, which is normally duplicated version of this config, but could be a subclass.
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()
        
    
    No description
        
                            ConfigCollectionInterface
    nest()
        
    
    Get nested version of this config, which is normally duplicated version of this config, but could be a subclass.
        
                            Middleware[]
    getMiddlewares()
        
    
    No description
        
                            $this
    setMiddlewares(Middleware[] $middlewares)
        
    
    No description
        
                            $this
    addMiddleware(Middleware $middleware)
        
    
    No description
        
                            array
    getAll()
        
    
    Get complete config (excludes middleware)