You are here

public function PrivateMessageThreadCacheContext::__construct in Private Message 8.2

Same name and namespace in other branches
  1. 8 src/Cache/Context/PrivateMessageThreadCacheContext.php \Drupal\private_message\Cache\Context\PrivateMessageThreadCacheContext::__construct()

Constructs a new UserCacheContextBase class.

Parameters

\Drupal\Core\Routing\ResettableStackedRouteMatchInterface $currentRouteMatcher: The current route matcher.

File

src/Cache/Context/PrivateMessageThreadCacheContext.php, line 29

Class

PrivateMessageThreadCacheContext
Defines the PrivateMessageThread service, for "per thread" caching.

Namespace

Drupal\private_message\Cache\Context

Code

public function __construct(ResettableStackedRouteMatchInterface $currentRouteMatcher) {
  $this->currentRouteMatcher = $currentRouteMatcher;
}