laravel-dotenv-editor
laravel-dotenv-editor copied to clipboard
Saved and loaded values
Hi,
I'm using Laravel 5.3 and I found that getContent()
gets saved properties directly from .env
file, while getValue()
gets current (loaded) property value. And these values can be different if .env
file was saved but not reloaded.
So, you might want to introduce separate methods for each case, something like getValue()/getCurrentValue()
and getProperties()/getCurrentProperties()
.