PHP Class Larabros\Elogram\Http\Clients\GuzzleAdapter

Inheritance: extends AbstractAdapter
Show file Open project: larabros/elogram

Protected Properties

Property Type Description
$guzzle GuzzleHttp\ClientInterface The Guzzle client instance.

Public Methods

Method Description
__construct ( GuzzleHttp\ClientInterface $guzzle ) Creates a new instance of :php:class:GuzzleAdapter.
request ( $method, $uri, array $parameters = [] ) {@inheritDoc}

Method Details

__construct() public method

Creates a new instance of :php:class:GuzzleAdapter.
public __construct ( GuzzleHttp\ClientInterface $guzzle )
$guzzle GuzzleHttp\ClientInterface

request() public method

{@inheritDoc}
public request ( $method, $uri, array $parameters = [] )
$parameters array

Property Details

$guzzle protected property

The Guzzle client instance.
protected ClientInterface,GuzzleHttp $guzzle
return GuzzleHttp\ClientInterface