<commit_before><?php

declare(strict_types=1);

/*
 * This file is part of Swap.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Swap;

use Exchanger\Contract\ExchangeRateProvider;
use Exchanger\ExchangeRateQueryBuilder;
use Exchanger\Contract\ExchangeRate as ExchangeRateContract;

/**
 * Swap is an easy to use facade to retrieve exchange rates from various services.
 *
 * @author <NAME> <<EMAIL>>
 */
final class Swap
{
    /**
     * The exchange rate provider.
     *
     * @var ExchangeRateProvider
     */
    private $exchangeRateProvider;

    /**
     * Creates a new Swap.<commit_msg>Making Swap class not final<commit_after><?php

declare(strict_types=1);

/*
 * This file is part of Swap.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Swap;

use Exchanger\Contract\ExchangeRateProvider;
use Exchanger\ExchangeRateQueryBuilder;
use Exchanger\Contract\ExchangeRate as ExchangeRateContract;

/**
 * Swap is an easy to use facade to retrieve exchange rates from various services.
 *
 * @author <NAME> <<EMAIL>>
 */
class Swap
{
    /**
     * The exchange rate provider.
     *
     * @var ExchangeRateProvider
     */
    private $exchangeRateProvider;

    /**
     * Creates a new Swap.
{'fraction_non_alphanumeric': 0.1006896551724138, 'fraction_numerical': 0.001379310344827586, 'mean_word_length': 3.396969696969697, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, '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': '7004910', 'n_tokens_mistral': 435, 'n_tokens_neox': 423, 'n_words': 146}