/**
  * Clear configuration cache (temp_CACHED_..).
  *
  * @return void
  */
 public function clearConfigurationCacheCommand()
 {
     $this->cacheApiService->clearConfigurationCache();
     $message = 'Configuration cache has been cleared.';
     $this->logger->info($message);
     $this->outputLine($message);
 }
Exemplo n.º 2
0
 /**
  * @test
  * @covers ::clearConfigurationCache
  */
 public function clearConfigurationCacheClearsConfigurationCache()
 {
     $this->dataHandlerMock->expects($this->once())->method('clear_cacheCmd')->with('temp_cached');
     $this->subject->clearConfigurationCache();
 }