You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I removed APP_ENV from .env and set APP_ENV=behat in .env.behat
When I echo environment:
echo app()->environment() ----> local
And environment variables can not be used by env() and this method always returns null for everything.
But! If I echo loaded env file:
echo app()->environmentFile() ---> .env.behat
What should I do?
The text was updated successfully, but these errors were encountered:
ebrahimdunro
changed the title
.env.behat is read but variables aren't accessable
.env.behat is read but variables aren't accessible
Jun 3, 2018
My laravel version = 5.4
and my composer.json:
`"barryvdh/laravel-ide-helper": "^2.3",
I removed APP_ENV from .env and set APP_ENV=behat in .env.behat
When I echo environment:
echo app()->environment() ----> local
And environment variables can not be used by env() and this method always returns null for everything.
But! If I echo loaded env file:
echo app()->environmentFile() ---> .env.behat
What should I do?
The text was updated successfully, but these errors were encountered: