laravel-dotenv-editor icon indicating copy to clipboard operation
laravel-dotenv-editor copied to clipboard

Saved and loaded values

Open ownmaster opened this issue 8 years ago • 0 comments

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().

ownmaster avatar Dec 02 '16 09:12 ownmaster