summaryrefslogtreecommitdiff
path: root/vendor/guzzlehttp/promises/src/PromisorInterface.php
blob: 5e8c512642760bb1abe6e575f4a3cba6542d83da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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;
}