src/Mbcraft/Piol/Utils/JavaXmlPropertiesUtils.php
public static function removeEntriesFromFile($file, $entries) {
        $properties = self::readFromFile($file);
        if (is_string($entries)) {
            unset($properties[$entries]);
        } else {
            foreach ($entries as $i => $key) {
                unset($properties[$key]);
            }
        }
        self::saveToFile($file, $properties);
    }
public static function removeEntriesFromFile($file, $entries) {
        $properties = self::readFromFile($file);
        if (is_string($entries)) {
            unset($properties[$entries]);
        } else {
            foreach ($entries as $i => $key) {
                unset($properties[$key]);
            }
        }
        self::saveToFile($file, $properties);
    }
public static function removeEntriesFromFile ( $ file , $ entries ) { $ properties = self :: readFromFile ( $ file ) ; if ( is_string ( $ entries ) ) { unset ( $ properties [ $ entries ] ) ; } else { foreach ( $ entries as $ i => $ key ) { unset ( $ properties [ $ key ] ) ; } } self :: saveToFile ( $ file , $ properties ) ; }
Removes entries to a java xml properties file.

@param mixed $file a path or a File
@param array $entries The entries to remove.

@api
Removes entries to a java xml properties file .