Skip to content

Files

Latest commit

b9b09c5 · Feb 4, 2017

History

History
23 lines (14 loc) · 452 Bytes

File metadata and controls

23 lines (14 loc) · 452 Bytes

Promise adapter usage

Optional requirements

Optional to use Guzzle:

composer require "guzzlehttp/promises"

Optional to use ReactPhp:

composer require "react/promise"

Supported Adapter

Guzzle: Overblog\PromiseAdapter\Adapter\GuzzleHttpPromiseAdapter

ReactPhp: Overblog\PromiseAdapter\Adapter\ReactPromiseAdapter

To use a custom Promise lib you can implement Overblog\PromiseAdapter\PromiseAdapterInterface