You are here

public function PromisorInterface::promise in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/guzzlehttp/promises/src/PromisorInterface.php \GuzzleHttp\Promise\PromisorInterface::promise()

Returns a promise.

Return value

PromiseInterface

2 methods override PromisorInterface::promise()
EachPromise::promise in vendor/guzzlehttp/promises/src/EachPromise.php
Returns a promise.
Pool::promise in vendor/guzzlehttp/guzzle/src/Pool.php
Returns a promise.

File

vendor/guzzlehttp/promises/src/PromisorInterface.php, line 14

Class

PromisorInterface
Interface used with classes that return a promise.

Namespace

GuzzleHttp\Promise

Code

public function promise();