/** * Returns the cached json array with the xliff labels * * @param string $locale * @return string */ public function xliffAsJsonAction($locale) { $this->response->setHeader('Content-Type', 'application/json'); return $this->xliffService->getCachedJson(new Locale($locale)); }
/** * @return string The current cache version identifier */ public function render() { return $this->xliffService->getCacheVersion(); }