<commit_before><?php namespace Firebase;

use Closure;
use Firebase\Event\RequestsBatchedEvent;
use Firebase\Normalizer\NormalizerInterface;
use GuzzleHttp\ClientInterface;
use GuzzleHttp\Message\RequestInterface;
use GuzzleHttp\Message\ResponseInterface;

class Firebase implements FirebaseMethods
{

    use Configurable;

    /**
     * Helper for handling single argument setters
     */
    const NULL_ARGUMENT = -1;

    /**
     * HTTP Request Client
     *
     * @var ClientInterface
     */
    protected $client;

    /**
     *
     * @var array
     */
    protected $normalizers;

    /**
     * Request array for batching
     * @var array
     */
    protected $requests = array();

    /**
     *
     * @var \Firebase\Normalizer\NormalizerInterface
     */
    protected $normalizer;

    /**
     * @var Closure
     */
    static $clientResolver;

    /**
     * @param array $options
     * @param null|ClientInterface $client
     * @param array $normalizers
     */
    public function __construct($options = array(), ClientInterface $client = null, $normalizers = array())
    {
        $this->setOptions($options);
        $this->setNormalizers($normalizers);
        is_null($client) ? $this->resolveClient() : $this->setClient($client);
    }

    /**
     * @param Closure $resolver
     */
    public static function setClientResolver(Closure $resolver)<commit_msg>public resolver<commit_after><?php namespace Firebase;

use Closure;
use Firebase\Event\RequestsBatchedEvent;
use Firebase\Normalizer\NormalizerInterface;
use GuzzleHttp\ClientInterface;
use GuzzleHttp\Message\RequestInterface;
use GuzzleHttp\Message\ResponseInterface;

class Firebase implements FirebaseMethods
{

    use Configurable;

    /**
     * Helper for handling single argument setters
     */
    const NULL_ARGUMENT = -1;

    /**
     * HTTP Request Client
     *
     * @var ClientInterface
     */
    protected $client;

    /**
     *
     * @var array
     */
    protected $normalizers;

    /**
     * Request array for batching
     * @var array
     */
    protected $requests = array();

    /**
     *
     * @var \Firebase\Normalizer\NormalizerInterface
     */
    protected $normalizer;

    /**
     * @var Closure
     */
    public static $clientResolver;

    /**
     * @param array $options
     * @param null|ClientInterface $client
     * @param array $normalizers
     */
    public function __construct($options = array(), ClientInterface $client = null, $normalizers = array())
    {
        $this->setOptions($options);
        $this->setNormalizers($normalizers);
        is_null($client) ? $this->resolveClient() : $this->setClient($client);
    }

    /**
     * @param Closure $resolver
     */
    public static function setClientResolver(Closure $resolver)
{'fraction_non_alphanumeric': 0.11512334644261708, 'fraction_numerical': 0.0007150518412584912, 'mean_word_length': 2.5917843388960207, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '5584263', 'n_tokens_mistral': 814, 'n_tokens_neox': 784, 'n_words': 179}