LoadEnvironmentVariables
class LoadEnvironmentVariables (View source)
Methods
                    void
                
                
                
            
                    void
                
                
                    checkForSpecificEnvironmentFile(Application $app)
        
                                            
                
            Detect if a custom environment file matching the APP_ENV exists.
                    bool
                
                
                
            
                    Dotenv
                
                
                
            
                    void
                
                
                    writeErrorAndDie(InvalidFileException $e)
        
                                            
                
            Write the error information to the screen and exit.
Details
        
                            void
    bootstrap(Application $app)
        
    
    Bootstrap the given application.
        
                    protected        void
    checkForSpecificEnvironmentFile(Application $app)
        
    
    Detect if a custom environment file matching the APP_ENV exists.
        
                    protected        bool
    setEnvironmentFilePath(Application $app, string $file)
        
    
    Load a custom environment file.
        
                    protected        Dotenv
    createDotenv(Application $app)
        
    
    Create a Dotenv instance.
        
                    protected        void
    writeErrorAndDie(InvalidFileException $e)
        
    
    Write the error information to the screen and exit.