public function CompanyMembershipObjectCache::invalidateMemberships in Apigee Edge 8
Invalidate membership objects by tags.
Parameters
array $tags: Array of cache tags.
Overrides CompanyMembershipObjectCacheInterface::invalidateMemberships
File
- modules/
apigee_edge_teams/ src/ CompanyMembershipObjectCache.php, line 132
Class
- CompanyMembershipObjectCache
- Providers a persistent & non-persistent cache for company membership objects.
Namespace
Drupal\apigee_edge_teamsCode
public function invalidateMemberships(array $tags) : void {
$this->memoryCache
->invalidateTags($tags);
if ($this->persistentCacheBackend instanceof CacheTagsInvalidatorInterface) {
$this->persistentCacheBackend
->invalidateTags($tags);
}
}