Skip to content

Commit

Permalink
Update to interface changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pflorek committed Aug 8, 2019
1 parent b6ccbd5 commit 3cbf208
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ $client = [
'region' => 'eu-central-1',
];

// Create AWS Parameter Store Config Provider
$provider = new ConfigProvider($client, $options);

// Get provided config with active profiles
$environments = ['test'];
$config = $provider($environments);

// Create AWS Parameter Store Config Provider
$provider = new ConfigProvider($client, $options, $environments);
$config = $provider();

// e.g. returns
//
Expand Down

0 comments on commit 3cbf208

Please sign in to comment.