<commit_before><?php

namespace Vend\Statsd;


/**
 * StatsD Client
 *
 * Holds and sends a queue of metric instances to a socket. Uses the provided socket and factory to do so. Exposes
 * methods on the factory via __call, which is a little dynamic for some tastes, but also damn convenient.
 *
 * @method MetricInterface counter(string $key, int $delta)
 * @method MetricInterface increment(string $key)
 * @method MetricInterface decrement(string $key)
 * @method MetricInterface gauge(string $key, int|float $value)
 * @method MetricInterface timer(string $key, float $value)
 * @method MetricInterface set(string $key, mixed $value)
 */
class Client
{
    /**<commit_msg>Include variadic @method phpdoc for client<commit_after><?php

namespace Vend\Statsd;


/**
 * StatsD Client
 *
 * Holds and sends a queue of metric instances to a socket. Uses the provided socket and factory to do so. Exposes
 * methods on the factory via __call, which is a little dynamic for some tastes, but also damn convenient.
 *
 * @method MetricInterface counter(string $key, int $delta, ...)
 * @method MetricInterface increment(string $key, ...)
 * @method MetricInterface decrement(string $key, ...)
 * @method MetricInterface gauge(string $key, int|float $value, ...)
 * @method MetricInterface timer(string $key, float $value, ...)
 * @method MetricInterface set(string $key, mixed $value, ...)
 */
class Client
{
    /**
{'fraction_non_alphanumeric': 0.10985116938341602, 'fraction_numerical': 0.0, 'mean_word_length': 4.30827067669173, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': 2, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1946895', 'n_tokens_mistral': 405, 'n_tokens_neox': 394, 'n_words': 161}