summaryrefslogtreecommitdiff
path: root/vendor/guzzlehttp/promises/src/PromisorInterface.php
blob: 2d2e3422ba4046067e934c96d309661f8b18e631 (plain)
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();
}