Loader
class Loader implements LoaderInterface
Loader.
Traits
                    Namespaced file loader trait.
                
            Properties
| protected string | $path | Default path. | from NamespacedFileLoaderTrait | 
| protected string | $extension | File extension. | from NamespacedFileLoaderTrait | 
| protected array | $namespaces | Namespaces. | from NamespacedFileLoaderTrait | 
| protected FileSystem | $fileSystem | File system instance. | 
Methods
                    registerNamespace(string $namespace, string $path)
        
                                            
                
            Registers a namespace.
                    string
                
                
                    getFilePath(string $file, string|null $extension = null, string|null $suffix = null)
        
                                            
                
            Returns the path to the file.
                    array
                
                
                    getCascadingFilePaths(string $file, string|null $extension = null, string|null $suffix = null)
        
                                            
                
            Returns an array of cascading file paths.
                    array
                
                
                    load(string $file, string|null $environment = null)
        
                                            
                
            Loads the configuration file.
Details
        in NamespacedFileLoaderTrait at         line 49
                            
    setPath(string $path)
        
    
    Sets the default path.
        in NamespacedFileLoaderTrait at         line 59
                            
    setExtension(string $extension)
        
    
    Sets the extension.
        in NamespacedFileLoaderTrait at         line 70
                            
    registerNamespace(string $namespace, string $path)
        
    
    Registers a namespace.
        in NamespacedFileLoaderTrait at         line 83
                    protected        string
    getFilePath(string $file, string|null $extension = null, string|null $suffix = null)
        
    
    Returns the path to the file.
        in NamespacedFileLoaderTrait at         line 125
                    protected        array
    getCascadingFilePaths(string $file, string|null $extension = null, string|null $suffix = null)
        
    
    Returns an array of cascading file paths.
        at         line 38
                            
    __construct(FileSystem $fileSystem, string $path)
        
    
    Constructor.
        at         line 48
                            array
    load(string $file, string|null $environment = null)
        
    
    Loads the configuration file.