mailgun-php/src/Model/PagingProvider.php

39 lines
707 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
/*
* Copyright (C) 2013 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.
*/
2019-01-18 08:19:39 +03:00
public function getNextUrl(): ?string;
/**
* Returns the `$paging->prev` URL.
*/
2019-01-18 08:19:39 +03:00
public function getPreviousUrl(): ?string;
/**
* Returns the `$paging->first` URL.
*/
2019-01-18 08:19:39 +03:00
public function getFirstUrl(): ?string;
/**
* Returns the `$paging->last` URL.
*/
2019-01-18 08:19:39 +03:00
public function getLastUrl(): ?string;
}