You are here

public function ConfigurationsCacheInDatabase::remove in Configuration Management 7.3

File

src/Helpers/ConfigurationsCacheInDatabase.php, line 44

Class

ConfigurationsCacheInDatabase

Namespace

Configurations\Helpers

Code

public function remove($identifier) {
  if (isset($this->idenfitifers[$this->prefix . $identifier])) {
    unset($this->idenfitifers[$this->prefix . $identifier]);
    cache_clear_all($this->prefix . $identifier, $this->cache_table);
  }
  return $this;
}