Skip to content

Commit

Permalink
add put env adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Mar 21, 2019
1 parent 427365a commit c37702c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Dotenv\Dotenv;
use Dotenv\Environment\DotenvFactory;
use Dotenv\Exception\InvalidFileException;
use Dotenv\Environment\Adapter\PutenvAdapter;
use Symfony\Component\Console\Input\ArgvInput;
use Dotenv\Environment\Adapter\EnvConstAdapter;
use Illuminate\Contracts\Foundation\Application;
Expand Down Expand Up @@ -88,7 +89,7 @@ protected function createDotenv($app)
return Dotenv::create(
$app->environmentPath(),
$app->environmentFile(),
new DotenvFactory([new EnvConstAdapter, new ServerConstAdapter])
new DotenvFactory([new EnvConstAdapter, new ServerConstAdapter, new PutenvAdapter])

This comment has been minimized.

Copy link
@mnabialek

This comment has been minimized.

Copy link
@GrahamCampbell

GrahamCampbell Mar 22, 2019

Member

There's no need to add this back into the helper.

);
}

Expand Down

0 comments on commit c37702c

Please sign in to comment.