From 1fa199ddf1c40cd783f7315183eba870b4076115 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Fri, 7 Apr 2017 21:30:44 +0200 Subject: [PATCH] Removed old pagination methods (#329) --- src/Mailgun/Api/Event.php | 40 --------------------------------------- 1 file changed, 40 deletions(-) diff --git a/src/Mailgun/Api/Event.php b/src/Mailgun/Api/Event.php index 115562a..d49d4e7 100644 --- a/src/Mailgun/Api/Event.php +++ b/src/Mailgun/Api/Event.php @@ -35,44 +35,4 @@ class Event extends HttpApi return $this->hydrateResponse($response, EventResponse::class); } - - /** - * @param EventResponse $eventResponse - * - * @return EventResponse|null - */ - public function getPaginationNext(EventResponse $eventResponse) - { - return $this->getPaginationUrl($eventResponse->getNextUrl(), EventResponse::class); - } - - /** - * @param EventResponse $eventResponse - * - * @return EventResponse|null - */ - public function getPaginationPrevious(EventResponse $eventResponse) - { - return $this->getPaginationUrl($eventResponse->getPreviousUrl(), EventResponse::class); - } - - /** - * @param EventResponse $eventResponse - * - * @return EventResponse|null - */ - public function getPaginationFirst(EventResponse $eventResponse) - { - return $this->getPaginationUrl($eventResponse->getPreviousUrl(), EventResponse::class); - } - - /** - * @param EventResponse $eventResponse - * - * @return EventResponse|null - */ - public function getPaginationLast(EventResponse $eventResponse) - { - return $this->getPaginationUrl($eventResponse->getPreviousUrl(), EventResponse::class); - } }