2017-02-20 22:21:55 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
2017-11-22 11:37:04 +03:00
|
|
|
* Copyright (C) 2013 Mailgun
|
2017-02-20 22:21:55 +03:00
|
|
|
*
|
|
|
|
* This software may be modified and distributed under the terms
|
|
|
|
* of the MIT license. See the LICENSE file for details.
|
|
|
|
*/
|
|
|
|
|
2017-02-23 22:56:30 +03:00
|
|
|
namespace Mailgun\Model;
|
2017-02-20 22:21:55 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Sean Johnson <sean@mailgun.com>
|
|
|
|
*/
|
|
|
|
interface PagingProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Returns the `$paging->next` URL.
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getNextUrl();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the `$paging->prev` URL.
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getPreviousUrl();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the `$paging->first` URL.
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getFirstUrl();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the `$paging->last` URL.
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getLastUrl();
|
|
|
|
}
|