diff --git a/src/Controllers/PurchasablePhoneNumbersController.php b/src/Controllers/PurchasablePhoneNumbersController.php index 1e817a1..67d45cc 100644 --- a/src/Controllers/PurchasablePhoneNumbersController.php +++ b/src/Controllers/PurchasablePhoneNumbersController.php @@ -95,11 +95,12 @@ public function listAreaAndExchange ( /** * Retrieves a list of all NPAs (area codes) that contain purchasable telephone numbers. * @param int $limit Required parameter: Number of items to display (Max 200). + * @param int|null $page Optional parameter: Page to display * @return mixed response from the API call * @throws APIException **/ public function listAvailableNPAs ( - $limit) + $limit,$page=NULL) { //the base uri for api requests $queryBuilder = Configuration::$BASEURI; @@ -110,6 +111,7 @@ public function listAvailableNPAs ( //process optional query parameters APIHelper::appendUrlWithQueryParameters($queryBuilder, array ( 'limit' => $limit, + 'page' => $page, )); //validate and preprocess url @@ -206,4 +208,4 @@ public function search ( return $response->body; } -} \ No newline at end of file +}