You are here

public function SubscriptionManager::reset in Simplenews 8

Same name and namespace in other branches
  1. 8.2 src/Subscription/SubscriptionManager.php \Drupal\simplenews\Subscription\SubscriptionManager::reset()
  2. 3.x src/Subscription/SubscriptionManager.php \Drupal\simplenews\Subscription\SubscriptionManager::reset()

Reset static caches.

Overrides SubscriptionManagerInterface::reset

File

src/Subscription/SubscriptionManager.php, line 281

Class

SubscriptionManager
Default subscription manager.

Namespace

Drupal\simplenews\Subscription

Code

public function reset() {
  $this->subscribedCache = [];
}