Attachment
7 years ago
Domain
7 years ago
Event
7 years ago
Ip
7 years ago
MailingList
7 years ago
Message
7 years ago
Route
7 years ago
Stats
7 years ago
Suppression
7 years ago
Tag
7 years ago
Webhook
7 years ago
ApiResponse.php
7 years ago
PaginationResponse.php
7 years ago
PagingProvider.php
7 years ago
ApiResponse.php
26 lines
| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | * Copyright (C) 2013 Mailgun |
| 5 | * |
| 6 | * This software may be modified and distributed under the terms |
| 7 | * of the MIT license. See the LICENSE file for details. |
| 8 | */ |
| 9 | |
| 10 | namespace Mailgun\Model; |
| 11 | |
| 12 | /** |
| 13 | * @author Tobias Nyholm <tobias.nyholm@gmail.com> |
| 14 | */ |
| 15 | interface ApiResponse |
| 16 | { |
| 17 | /** |
| 18 | * Create an API response object from the HTTP response from the API server. |
| 19 | * |
| 20 | * @param array $data |
| 21 | * |
| 22 | * @return self |
| 23 | */ |
| 24 | public static function create(array $data); |
| 25 | } |
| 26 |