<commit_before><?php
namespace Snaggle\OAuth1\Client\Request;
/**
 * @author <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2014
 * @license http://opensource.org/licenses/MIT
 * @package Snaggle
 * @subpackage OAuth1
 *
 * Class that will use an HTTP client to make requests for token exchanges and api consumption
 */
class Request
{
    /**
     * Guzzle Client used for making the requests
     *
     * @var \GuzzleHttp\Client $httpClient
     */
    protected $httpClient;

    /**
     *
     */
}<commit_msg>Adding method to create guzzle http client<commit_after><?php
namespace Snaggle\OAuth1\Client\Request;
use GuzzleHttp as Guzzle;
/**
 * @author <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2014
 * @license http://opensource.org/licenses/MIT
 * @package Snaggle
 * @subpackage OAuth1
 *
 * Class that will use an HTTP client to make requests for token exchanges and api consumption
 */
class Request
{
    /**
     * Guzzle Client used for making the requests
     *
     * @var \GuzzleHttp\Client $httpClient
     */
    protected $httpClient;

    /**
     * Host for the request, default value is null can be overridden for different vendors
     *
     * @var string $host
     */
    protected $host = null;

    /**
     * Method to get a Guzzle HTTP Client to make the calls.
     *
     * @return \GuzzleHttp\Client
     */
    public function getHttpClient()
    {
        return new Guzzle\Client($this->host);
    }
}
{'fraction_non_alphanumeric': 0.10825815405968078, 'fraction_numerical': 0.008327550312283136, 'mean_word_length': 2.716494845360825, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3098023', 'n_tokens_mistral': 446, 'n_tokens_neox': 421, 'n_words': 141}