<commit_before><commit_msg>Added IConfig interface<commit_after><?php

namespace Unity\Component\Config\Contracts;

/**
 * Interface IConfig
 *
 * @author: <NAME> <<EMAIL>|<EMAIL>>
 */
interface IConfig
{
    /**
     * Returns the configuration value
     *
     * @param $config
     *
     * @return mixed
     */
    function get($config);

    /**
     * Checks if a configuration exists
     *
     * @param $config
     *
     * @return bool
     */
    function has($config);
}
{'fraction_non_alphanumeric': 0.13814432989690723, 'fraction_numerical': 0.0, 'mean_word_length': 2.328767123287671, 'pattern_counts': {'":': 0, '<': 8, '<?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': '326215', 'n_tokens_mistral': 152, 'n_tokens_neox': 148, 'n_words': 33}