mailgun-php/src/Mailgun/Resource/Api/PagingProvider.php

45 lines
773 B
PHP
Raw Normal View History

<?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();
}