Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | /** |
| 3 | * Pop PHP Framework (https://www.popphp.org/) |
| 4 | * |
| 5 | * @link https://github.com/popphp/popphp-framework |
| 6 | * @author Nick Sagona, III <dev@noladev.com> |
| 7 | * @copyright Copyright (c) 2009-2026 NOLA Interactive, LLC. |
| 8 | * @license https://www.popphp.org/license New BSD License |
| 9 | */ |
| 10 | |
| 11 | /** |
| 12 | * @namespace |
| 13 | */ |
| 14 | namespace Pop\Mail\Api; |
| 15 | |
| 16 | use Aws\Ses\SesClient; |
| 17 | use Pop\Http; |
| 18 | |
| 19 | /** |
| 20 | * Http base interface |
| 21 | * |
| 22 | * @category Pop |
| 23 | * @package Pop\Mail |
| 24 | * @author Nick Sagona, III <dev@noladev.com> |
| 25 | * @copyright Copyright (c) 2009-2026 NOLA Interactive, LLC. |
| 26 | * @license https://www.popphp.org/license New BSD License |
| 27 | * @version 4.0.7 |
| 28 | */ |
| 29 | interface HttpInterface |
| 30 | { |
| 31 | |
| 32 | /** |
| 33 | * Create client |
| 34 | * |
| 35 | * @param array|string $options |
| 36 | * @return HttpInterface |
| 37 | */ |
| 38 | public function createClient(array|string $options): HttpInterface; |
| 39 | |
| 40 | /** |
| 41 | * Set client |
| 42 | * |
| 43 | * @param mixed $client |
| 44 | * @return HttpInterface |
| 45 | */ |
| 46 | public function setClient(mixed $client): HttpInterface; |
| 47 | |
| 48 | /** |
| 49 | * Get client |
| 50 | * |
| 51 | * @return mixed |
| 52 | */ |
| 53 | public function getClient(): mixed; |
| 54 | |
| 55 | /** |
| 56 | * Has client |
| 57 | * |
| 58 | * @return bool |
| 59 | */ |
| 60 | public function hasClient(): bool; |
| 61 | |
| 62 | /** |
| 63 | * Parse options |
| 64 | * |
| 65 | * @param array|string $options |
| 66 | * @throws Exception |
| 67 | * @return array |
| 68 | */ |
| 69 | public function parseOptions(array|string $options): array; |
| 70 | |
| 71 | } |