<commit_before><?php

namespace Bdt\Avetmiss\Config;

/**
 * Class for managing configuration options via static values on the object.
 *
 * To extend this class, define your own properties on the extending class, e.g.:
 *
 *      class ExampleConfig extends Config
 *      {
 *          protected $myOptions = [
 *              'key' => 'value',
 *              'foo' => 'bar',
 *          ];
 *      }
 */
abstract class Config
{<commit_msg>add a getter to just retrieve the full array<commit_after><?php

namespace Bdt\Avetmiss\Config;

/**
 * Class for managing configuration options via static values on the object.
 *
 * To extend this class, define your own properties on the extending class, e.g.:
 *
 *      class ExampleConfig extends Config
 *      {
 *          protected $myOptions = [
 *              'key' => 'value',
 *              'foo' => 'bar',
 *          ];
 *      }
 */
abstract class Config
{

    /**
     * Get the array for a given configuration option.
     *
     * @param string $name
     *
     * @return array
     */
    public static function get($name)
    {
        self::check($name);

        return static::$$name;
    }

{'fraction_non_alphanumeric': 0.1153184165232358, 'fraction_numerical': 0.0, 'mean_word_length': 2.0129533678756477, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4401485', 'n_tokens_mistral': 320, 'n_tokens_neox': 319, 'n_words': 108}