Removed old pagination methods (#329)

This commit is contained in:
Tobias Nyholm 2017-04-07 21:30:44 +02:00 committed by GitHub
parent 0f5440c368
commit 1fa199ddf1

View File

@ -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);
}
} }