17 lines
249 B
PHP
17 lines
249 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace GuzzleHttp\Promise;
|
|
|
|
/**
|
|
* Interface used with classes that return a promise.
|
|
*/
|
|
interface PromisorInterface
|
|
{
|
|
/**
|
|
* Returns a promise.
|
|
*/
|
|
public function promise(): PromiseInterface;
|
|
}
|