Skip to content

Commit 5bbdc91

Browse files
committed
Close #190
1 parent 14e3954 commit 5bbdc91

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This framework agnostic package implements [JSON API](http://jsonapi.org/) speci
1717
* Compound documents with inclusion of related resources (circular resource references supported)
1818
* Meta information for document, resources, errors, relationship and link objects
1919
* Parsing HTTP `Accept` and `Content-Type` headers in accordance with [RFC 7231](https://tools.ietf.org/html/rfc7231)
20-
* Parsing parameters for pagination, sorting and filtering
20+
* Parsing HTTP query parameters (e.g. pagination, sorting and etc)
2121
* Sparse fieldsets and customized included paths
2222
* Errors
2323

@@ -108,7 +108,7 @@ A sample program with encoding of multiple, nested, filtered objects and more is
108108

109109
## Versions
110110

111-
Current version is 2.x (PHP 7.1+) for older PHP versions (PHP 5.5 - 7.0, HHVM) please use version 1.x.
111+
Current version is 2.x (PHP 7.1+) for older PHP (PHP 5.5 - 7.0, HHVM) please use version 1.x.
112112

113113
## Questions?
114114

src/Contracts/Http/Query/BaseQueryParserInterface.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ interface BaseQueryParserInterface
3030
/** Parameter name */
3131
public const PARAM_SORT = 'sort';
3232

33+
/** Parameter name */
34+
public const PARAM_PAGE = 'page';
35+
36+
/** Parameter name */
37+
public const PARAM_FILTER = 'filter';
38+
3339
/**
3440
* @return iterable
3541
*/

0 commit comments

Comments
 (0)