VersionBridgePlugin
A plugin that helps you migrate from php-http/client-common 1.x to 2.x. This will also help you to support PHP5 at the same time you support 2.x.
Tags
Table of Contents
Methods
- handleRequest() : Promise
- doHandleRequest() : mixed
Methods
handleRequest()
public
handleRequest(RequestInterface $request, callable $next, callable $first) : Promise
Parameters
- $request : RequestInterface
- $next : callable
- $first : callable
Return values
PromisedoHandleRequest()
protected
abstract doHandleRequest(RequestInterface $request, callable $next, callable $first) : mixed
Parameters
- $request : RequestInterface
- $next : callable
- $first : callable