public static function loadConfiguration()
    {
        $defaultsFile = __DIR__ . '/../../../../app/config/defaults.yml';
        $draggyFile   = __DIR__ . '/../../../../app/config/draggy.yml';
        $userFile     = __DIR__ . '/../../../../app/config/user.yml';

        $defaultsArray = Yaml::parse($defaultsFile);

        $configurationArray = is_file($userFile)
            ? Yaml::parse($userFile)
            : Yaml::parse($draggyFile);

        $mergedArray = self::mergeConfigurations($defaultsArray, $configurationArray);

        return $mergedArray;
    }