| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace GuzzleHttp\Promise; |
| 6 |
|
| 7 |
/** |
| 8 |
* Interface used with classes that return a promise. |
| 9 |
*/ |
| 10 |
interface PromisorInterface |
| 11 |
{ |
| 12 |
/** |
| 13 |
* Returns a promise. |
| 14 |
*/ |
| 15 |
public function promise(): PromiseInterface; |
| 16 |
} |