/**
  * Flush the l10n cache
  *
  * @return void
  */
 public function clearCache()
 {
     if (isset($GLOBALS['BE_USER'])) {
         $GLOBALS['BE_USER']->writelog(3, 1, 0, 0, '[lang]: User %s has cleared the language cache', array($GLOBALS['BE_USER']->user['username']));
     }
     $this->cacheInstance->flush();
 }
 /**
  * Cleares the complete cache for class loader.
  *
  * @return void
  */
 protected function clearClassesCache()
 {
     $this->coreCache->flush();
     $this->classesCache->flush();
 }