Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: makeMutable($variable) #78

Closed
schmunk42 opened this issue Apr 20, 2015 · 3 comments
Closed

Feature request: makeMutable($variable) #78

schmunk42 opened this issue Apr 20, 2015 · 3 comments

Comments

@schmunk42
Copy link

Would be nice if we could make just a single ENV var mutable.

My use case would be to prefix a database name stored in ENV, because I don't want to override all my variables from .env I can't just makeMutable().

@vlucas vlucas closed this as completed Jun 25, 2015
@vlucas vlucas reopened this Jun 25, 2015
@xjchengo
Copy link
Contributor

xjchengo commented Jul 4, 2015

Why not separating mutable and immutable variables and putting them in seperate files? Then you can use load method to load immutable variables and overload method to load mutable variables. In this way, your collaborator can know which variables are immutable better.

@GrahamCampbell
Copy link
Collaborator

#76 (comment)

@GrahamCampbell
Copy link
Collaborator

I would not recommend using phpdotenv in this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants