src/Mbcraft/Piol/Utils/JavaXmlPropertiesUtils.php
public static function addEntriesToFile($file, $entries) {
        $properties = self::readFromFile($file);
        foreach ($entries as $key => $value) {
            $properties[$key] = $value;
        }

        self::saveToFile($file, $properties);
    }
public static function addEntriesToFile($file, $entries) {
        $properties = self::readFromFile($file);
        foreach ($entries as $key => $value) {
            $properties[$key] = $value;
        }

        self::saveToFile($file, $properties);
    }
public static function addEntriesToFile ( $ file , $ entries ) { $ properties = self :: readFromFile ( $ file ) ; foreach ( $ entries as $ key => $ value ) { $ properties [ $ key ] = $ value ; } self :: saveToFile ( $ file , $ properties ) ; }
Adds entries to a java xml properties file.

@param mixed $file a path or a File
@param array $entries

@api
Adds entries to a java xml properties file .