diff --git a/src/Api/ApigeeX/Controller/PaginatedEntityListingControllerInterface.php b/src/Api/ApigeeX/Controller/PaginatedEntityListingControllerInterface.php index c2426ed0..cd54cd6e 100644 --- a/src/Api/ApigeeX/Controller/PaginatedEntityListingControllerInterface.php +++ b/src/Api/ApigeeX/Controller/PaginatedEntityListingControllerInterface.php @@ -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; } diff --git a/src/Api/ApigeeX/Controller/PaginatedEntityListingControllerTrait.php b/src/Api/ApigeeX/Controller/PaginatedEntityListingControllerTrait.php index fcb73c07..257ed31b 100644 --- a/src/Api/ApigeeX/Controller/PaginatedEntityListingControllerTrait.php +++ b/src/Api/ApigeeX/Controller/PaginatedEntityListingControllerTrait.php @@ -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); } /**