HighSpeaker/vendor/guzzlehttp/promises/src/PromisorInterface.php

17 lines
249 B
PHP
Raw Normal View History

2022-12-24 22:10:40 +08:00
<?php
2024-01-31 22:15:08 +08:00
declare(strict_types=1);
2022-12-24 22:10:40 +08:00
namespace GuzzleHttp\Promise;
/**
* Interface used with classes that return a promise.
*/
interface PromisorInterface
{
/**
* Returns a promise.
*/
2024-01-31 22:15:08 +08:00
public function promise(): PromiseInterface;
2022-12-24 22:10:40 +08:00
}