コード例 #1
0
 /**
  * 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));
 }
コード例 #2
0
 /**
  * @return string The current cache version identifier
  */
 public function render()
 {
     return $this->xliffService->getCacheVersion();
 }