You are here

public function SimplenewsSourceCacheStatic::__construct in Simplenews 7.2

Same name and namespace in other branches
  1. 7 includes/simplenews.source.inc \SimplenewsSourceCacheStatic::__construct()

Implements SimplenewsSourceCacheInterface::__construct().

Overrides SimplenewsSourceCacheInterface::__construct

File

includes/simplenews.source.inc, line 928
Contains SimplenewsSource interface and implementations.

Class

SimplenewsSourceCacheStatic
Abstract implementation of the source caching that does static caching.

Code

public function __construct(SimplenewsSourceEntityInterface $source) {
  $this->source = $source;
  self::$cache =& drupal_static(__CLASS__, array());
}