<commit_before><?php
/**
 * Yaml File Configuration provider
 *
 * @author <NAME> <<EMAIL>>
 * @license The MIT License
 */

namespace Dragooon\YamlFileConfig;
use Dragooon\YamlFileConfig\Exception\InvalidFileException;
use Dragooon\YamlFileConfig\Exception\UndefinedParameterException;
use Symfony\Component\Yaml\Yaml;

/**
 * Base class for Yaml File Configuration
 */
class YamlFileConfig extends ArrayConfiguration implements ConfigFileInterface
{

    /**
     * The full path of configuration
     *
     * @var string
     */
    protected $file;

    /**
     * Yaml configuration stored in the file
     *
     * @var array
     */
    protected $config = array();

    /**
     * Whether we have loaded the configuration or not
     *<commit_msg>No need for redundant declaration of $config<commit_after><?php
/**
 * Yaml File Configuration provider
 *
 * @author <NAME> <<EMAIL>>
 * @license The MIT License
 */

namespace Dragooon\YamlFileConfig;
use Dragooon\YamlFileConfig\Exception\InvalidFileException;
use Dragooon\YamlFileConfig\Exception\UndefinedParameterException;
use Symfony\Component\Yaml\Yaml;

/**
 * Base class for Yaml File Configuration
 */
class YamlFileConfig extends ArrayConfiguration implements ConfigFileInterface
{

    /**
     * The full path of configuration
     *
     * @var string
     */
    protected $file;

    /**
     * Whether we have loaded the configuration or not
     *
{'fraction_non_alphanumeric': 0.09346451159522136, 'fraction_numerical': 0.0, 'mean_word_length': 3.3547400611620795, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '3912385', 'n_tokens_mistral': 398, 'n_tokens_neox': 392, 'n_words': 115}