Skip to content

Commit

Permalink
README updates
Browse files Browse the repository at this point in the history
  • Loading branch information
PHLAK committed Mar 30, 2018
1 parent 9231aae commit f577f0a
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 @@ -49,7 +49,7 @@ use PHLAK\Config;
Then instantiate the class:

```php
$config = new Config\Config($context);
$config = new Config\Config($context, $prefix = null);
```

Where `$context` is a path to a supported file type, a directory containing one
Expand Down Expand Up @@ -207,7 +207,7 @@ $config->has($key, $override = false);
Load an additional configuration file:

```php
$conifg->load($pathToConfig, $override = true);
$conifg->load($pathToConfig, $prefix = null, $override = true);
```

Merge two Config objects into one:
Expand Down

0 comments on commit f577f0a

Please sign in to comment.