mailgun-php/src/Mailgun/Model/PagingProvider.php
Michal Hanajík 74929b6518 Renamed namespace from Resource\Api to Model (#293)
* Renamed namespace from Resource\Api to Model

* Moved Resources\ApiResponse to Models namespace

Signed-off-by: Michal Hanajík <michal.hanajik@outlook.com>

* Fix of code style
2017-02-23 20:56:30 +01:00

45 lines
766 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\Model;
/**
* @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();
}