Skip to content

Commit

Permalink
fixed signatures for classes
Browse files Browse the repository at this point in the history
  • Loading branch information
walkersoft committed May 25, 2018
1 parent cbe74a9 commit 5e7d156
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 @@ -342,10 +342,10 @@ factory versions with the exception of an added parameter, an instance of the

Each of the constructor signatures are as follows:

- `Collection`: `__construct(CollectionValidationInterface $validator, array $items = []);`
- `Dictionary`: `__construct(CollectionValidationInterface $validator, array $items = []);`
- `TypedCollection`: `__construct(CollectionValidationInterface $validator, string $acceptedType, array $items = []);`
- `TypedDictionary`: `__construct(CollectionValidationInterface $validator, string $acceptedType, array $items = []);`
- `Collection::__construct(CollectionValidationInterface $validator, array $items = []);`
- `Dictionary::__construct(CollectionValidationInterface $validator, array $items = []);`
- `TypedCollection::__construct(CollectionValidationInterface $validator, string $acceptedType, array $items = []);`
- `TypedDictionary::__construct(CollectionValidationInterface $validator, string $acceptedType, array $items = []);`

The library provides an implementation of the `CollectionValidationInterface` in the form of the
`CollectionValidator` class. Below is the alternative method of creating collection objects:
Expand Down

0 comments on commit 5e7d156

Please sign in to comment.