parse_vars(file_get_contents($file)); return json_decode($contents, true); } /** * Returns the formatted language file contents. * * @param array $contents config array * @return string formatted config file contents */ protected function export_format($contents) { $this->prep_vars($contents); return \Format::forge()->to_json($contents, true); } }