16 lines
243 B
PHP
16 lines
243 B
PHP
|
<?php
|
||
|
namespace GuzzleHttp\Promise;
|
||
|
|
||
|
/**
|
||
|
* Interface used with classes that return a promise.
|
||
|
*/
|
||
|
interface PromisorInterface
|
||
|
{
|
||
|
/**
|
||
|
* Returns a promise.
|
||
|
*
|
||
|
* @return PromiseInterface
|
||
|
*/
|
||
|
public function promise();
|
||
|
}
|