mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-12-05 03:16:09 +03:00
45 lines
773 B
PHP
45 lines
773 B
PHP
|
<?php
|
||
|
|
||
|
/*
|
||
|
* Copyright (C) 2013-2016 Mailgun
|
||
|
*
|
||
|
* This software may be modified and distributed under the terms
|
||
|
* of the MIT license. See the LICENSE file for details.
|
||
|
*/
|
||
|
|
||
|
namespace Mailgun\Resource\Api;
|
||
|
|
||
|
/**
|
||
|
* @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();
|
||
|
}
|