mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-02-06 08:19:25 +03:00
Removed old pagination methods (#329)
This commit is contained in:
parent
0f5440c368
commit
1fa199ddf1
@ -35,44 +35,4 @@ class Event extends HttpApi
|
|||||||
|
|
||||||
return $this->hydrateResponse($response, EventResponse::class);
|
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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user