2017-02-20 22:21:55 +03:00
|
|
|
<?php
|
|
|
|
|
2019-01-09 22:32:09 +03:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2017-02-20 22:21:55 +03:00
|
|
|
/*
|
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();
|
|
|
|
}
|