You are here

public function SubscriptionManager::reset in Simplenews 3.x

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

Reset static caches.

Overrides SubscriptionManagerInterface::reset

File

src/Subscription/SubscriptionManager.php, line 218

Class

SubscriptionManager
Default subscription manager.

Namespace

Drupal\simplenews\Subscription

Code

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