Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdheiden authored Sep 7, 2017
1 parent f004f88 commit 76520f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ You can install the package via composer:
composer require vdhicts/data-filter
```

## Documentation
## Usage

Creating field is based on a key and a value:

Expand All @@ -28,8 +28,8 @@ $field = new Field($fieldKey, $fieldValue);
```

A field has the ability to accept, reject or see the value as part of a range with a third optional parameter. These
parameters are constants of the field `APPROVAL_ACCEPT`, `APPROVAL_REJECT`, `APPROVAL_START_OF_RANGE` and
`APPROVAL_END_OF_RANGE`.
parameters are constants of the field `APPROVAL_ACCEPT`, `APPROVAL_REJECT`, `APPROVAL_START_OF_RANGE`,
`APPROVAL_END_OF_RANGE`, `APPROVAL_IN` and `APPROVAL_NOT_IN`.

The field is a member of a group. The group has a conjunction, which are constants of the group called
`CONJUNCTION_AND` and `CONJUCTION_OR`.
Expand Down

0 comments on commit 76520f0

Please sign in to comment.