Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Change DotEnvFileReaderAdapter to DotEnvV2FileReaderAdapter in readme
  • Loading branch information
CloneException authored Jun 21, 2019
1 parent 8f0249b commit 90bcc88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ EnvProviderDecorator::getEnv('TEST_ENV');

/*
* Pass as first param one of available HostDetectorInterface implementations which detect HostId for current request
* Pass as second param one of available EnvFileReaderInterface (for now available only DotEnvFileReaderAdapter) which load specific env file
* Pass as second param one of available EnvFileReaderInterface (for now available only DotEnvV2FileReaderAdapter) which load specific env file
* Pass as third param another EnvResolvingStrategy which find specific env variable from loaded envs
*/
$strategy = new FileBasedEnvResolvingStrategy($hostDetector, $envFileReader, $envResolvingStrategy);
Expand Down Expand Up @@ -253,4 +253,4 @@ char __'-'__ to __'\_\'__ when you access to env variable

// return 'originalEnvName_test_host_id'
$formattedName = $formatter->formatName('originalEnvName', new HostId('test-host-id'));
```
```

0 comments on commit 90bcc88

Please sign in to comment.