src/Mbcraft/Piol/Utils/JavaXmlPropertiesUtils.php
public static function readFromFile($file) {
        $real_file = File::asFile($file);

        if ($real_file->exists())
            return self::readFromString($file->getContent());
        else
            return array();
    }
public static function readFromFile($file) {
        $real_file = File::asFile($file);

        if ($real_file->exists())
            return self::readFromString($file->getContent());
        else
            return array();
    }
Reads the properties from a file, in xml java properties format.

@param mixed $file a path or a File

@return array The properties array

@api