Skip to content

Commit

Permalink
Enhancements for query parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
kedarkhaire committed Oct 18, 2023
1 parent 9b6138e commit eb257de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ interface PaginatedEntityListingControllerInterface extends PaginatedEntityContr
*
* @return \Apigee\Edge\Entity\EntityInterface[]
*/
public function getEntities(PagerInterface $pager = null, string $key_provider = 'id'): array;
public function getEntities(PagerInterface $pager = null, string $key_provider = 'id', $queryparams = []): array;
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ trait PaginatedEntityListingControllerTrait
*
* @return \Apigee\Edge\Entity\EntityInterface[]
*/
public function getEntities(PagerInterface $pager = null, string $key_provider = 'id'): array
public function getEntities(PagerInterface $pager = null, string $key_provider = 'id', $queryparams = []): array
{
return $this->listEntities($pager, [], $key_provider);
return $this->listEntities($pager, $queryparams, $key_provider);
}

/**
Expand Down

0 comments on commit eb257de

Please sign in to comment.