<commit_before><?php
/**
 * A class for managing runtime variables
 */

namespace Tinker;

/**
 * A class for managing runtime variables
 */
class Configure
{
    protected static $vars = array();
    
    /**
     * Write a variable to the configuration array
     * @param string $var
     * @param mixed $val
     * @return void
     */
    public static function write($var, $val)
    {
        static::$vars[$var] = $val;
    }
    
    /**
     * Reads a value from the configuration array. 
     * Passing a null key returns the entire configuration
     * @param string $var
     * @return mixed
     */
    public static function read($var = null)
    {
        if(empty($var)){
            return static::$vars;
        }
        return static::$vars[$var];
    }
}<commit_msg>Changed static to self for Coufigure()<commit_after><?php
/**
 * A class for managing runtime variables
 */

namespace Tinker;

/**
 * A class for managing runtime variables
 */
class Configure
{
    protected static $vars = array();
    
    /**
     * Write a variable to the configuration array
     * @param string $var
     * @param mixed $val
     * @return void
     */
    public static function write($var, $val)
    {
        self::$vars[$var] = $val;
    }
    
    /**
     * Reads a value from the configuration array. 
     * Passing a null key returns the entire configuration
     * @param string $var
     * @return mixed
     */
    public static function read($var = null)
    {
        if(empty($var)){
            return self::$vars;
        }
        return self::$vars[$var];
    }
}
{'fraction_non_alphanumeric': 0.1167608286252354, 'fraction_numerical': 0.0, 'mean_word_length': 2.077220077220077, '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': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1336135', 'n_tokens_mistral': 446, 'n_tokens_neox': 448, 'n_words': 151}