summaryrefslogtreecommitdiffstats
path: root/vendor/guzzlehttp/promises/src/PromisorInterface.php
blob: e1cb043de6d70e27b05ca6334542e4d9aa98b4f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

namespace GuzzleHttp\Promise;

/**
 * Interface used with classes that return a promise.
 */
interface PromisorInterface
{
    /**
     * Returns a promise.
     *
     * @return PromiseInterface
     */
    public function promise();
}