public static function readAndMergeObject($filename, $content, $flags = 0,
                                              $ignoredSection = array())
    {
        if (!file_exists($filename)) {
            return false;
        }

        $newContent = @parse_ini_file($filename, true, INI_SCANNER_TYPED);
        if ($newContent === false) {
            return false;
        }

        return self::mergeIniObjectContents($content, $newContent, $flags, $ignoredSection);
    }