Search Results for

    Show / Hide Table of Contents

    Method AllowAllEnvFilesOptional

    | Improve this Doc View Source

    AllowAllEnvFilesOptional()

    Allows all .env files to be optional. This tells the loader not to raise an error in case the .env file is not found in any directory.

    Declaration
    public IEnvLoader AllowAllEnvFilesOptional()
    Returns
    Type Description
    IEnvLoader

    An instance implementing the fluent interface.

    Implements
    IEnvLoader.AllowAllEnvFilesOptional()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2021 DotEnv.Core