data/BadConfigurationBag.php
function BadConfigurationBag($configuration = array()) {
        if (!is_array($configuration) || empty($configuration)) throw new \Exception("Config missing");

        $this->configuration = array_merge($configuration, self::DEFAULT_CONFIGURATION);
    }
function BadConfigurationBag($configuration = array()) {
        if (!is_array($configuration) || empty($configuration)) throw new \Exception("Config missing");

        $this->configuration = array_merge($configuration, self::DEFAULT_CONFIGURATION);
    }
Constructor

@param $configuration
@throws \Exception