public function getAlias()
    {
        $className = get_class($this);
        if (substr($className, -6) != 'Config') {
            throw new \BadMethodCallException('This Config class does not follow the naming convention; you must overwrite the getAlias() method.');
        }
        $classBaseName = substr(strrchr($className, '\\'), 1, -6);

        return strtolower($classBaseName);
    }