fkooman\OAuth\Client\Guzzle6Client::__construct PHP Method

__construct() public method

public __construct ( Client $client = null )
$client GuzzleHttp\Client
    public function __construct(Client $client = null)
    {
        if (null === $client) {
            $client = new Client();
        }
        $this->client = $client;
        $this->headers = array();
        $this->postParameters = array();
        $this->basicUser = null;
        $this->basicPass = null;
    }