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;
    }
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;
    }
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 ; }
Load the model configuration, merge it onto the default one and return the result array

@return array
Load the model configuration merge it onto the default one and return the result array