You are here

public function DeveloperCompaniesCache::remove in Apigee Edge 8

Removes cached company information of a developer.

Parameters

array $ids: Array of developer ids, if the array is empty all entries gets removed.

Overrides DeveloperCompaniesCacheInterface::remove

File

src/Entity/DeveloperCompaniesCache.php, line 75

Class

DeveloperCompaniesCache
Default non-persistent developer company membership cache implementation.

Namespace

Drupal\apigee_edge\Entity

Code

public function remove(array $ids = []) : void {
  if (empty($ids)) {
    $this->backend
      ->invalidateAll();
  }
  else {
    $this->backend
      ->invalidateMultiple($ids);
  }
}