Skip to content

Commit

Permalink
Updated README.md and set the date of the release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yosymfony committed Sep 2, 2018
1 parent 596801d commit 47c97f5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
2.0.0
-----
2.0.0 (2018-09-02)
------------------
* The interface `RepositoryOperationInterface` has been removed. Its method has been moved to `RepositoryInterface`.
* The dependency with package `symfony/config` is not necessary any more.
* The import feature doesn't support wildcard in the path of a file.
* The validation feature (it came from Symfony config) has been dropped.
* The validation feature (it came from Symfony config) has been dropped.
* Tests have been refactored.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ This library has support for `.dist` files. The filename is resolved following t
### Loading inline configuration:

To parse inline configurations you just need to set the configuration text as first argument instead of the filename
and set the syntax type as second argument:
and set the format type as second one:

```php
$repository = $config->load('server: "your-name.com"', YamlLoader::TYPE);
Expand Down Expand Up @@ -132,8 +132,8 @@ Repository
----------

A configuration file is loaded into a repository. A repository is a wrapper
that implements the array access interface and exposes methods for working
with configuration values
that implements the [ArrayAccess interface](http://php.net/manual/en/class.arrayaccess.php) and exposes methods for working
with configuration values.

```php
// Returns the value associeted with key "name" or the default value in case not found
Expand Down Expand Up @@ -162,7 +162,7 @@ You can performs the intersection of a repository A with another B into C as res
$resultC = $repositoryA->intersection($repositoryB);
```

The values of `$repositoryB` have less priority than values `$repositoryA`.
The values of `$repositoryB` have less priority than values in `$repositoryA`.

### Creating a blank repository

Expand Down

0 comments on commit 47c97f5

Please sign in to comment.