Search Results for

    Show / Hide Table of Contents

    Method IgnoreParentDirectories

    | Improve this Doc View Source

    IgnoreParentDirectories()

    Ignores search in parent directories. This tells the loader not to search in parent directories when the .env file is not in a directory.

    Declaration
    IEnvLoader IgnoreParentDirectories()
    Returns
    Type Description
    IEnvLoader

    An instance implementing the fluent interface.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2021 DotEnv.Core