parse_vars(file_get_contents($file)); return parse_ini_string($contents, true); } /** * Returns the formatted language file contents. * * @param array $contents language array * @return string formatted language file contents * @throws \LangException */ protected function export_format($contents) { throw new \LangException('Saving lang to ini is not supported at this time'); } }