vendor/guzzlehttp/promises/src/PromisorInterface.php

16 lines · 249 bytes

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