Esempio n. 1
0
 /**
  * Flush language cache
  */
 protected function clearLanguageCache()
 {
     $this->result->addInfo('Clear language cache');
     try {
         $this->languageCache->flush();
         $this->result->addSuccess('Cache cleared');
     } catch (\Exception $e) {
         $this->result->addError('Clearing language cache failed');
         $this->result->addError($e->getMessage());
     }
 }
 public function tearDown()
 {
     $this->storage->flush();
 }