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