You are here

public function AccessStorage::__construct in Permissions by Term 8.2

Same name and namespace in other branches
  1. 8 src/Service/AccessStorage.php \Drupal\permissions_by_term\Service\AccessStorage::__construct()

File

src/Service/AccessStorage.php, line 60

Class

AccessStorage
Class AccessStorage.

Namespace

Drupal\permissions_by_term\Service

Code

public function __construct(Connection $database, TermHandler $term, AccessCheck $accessCheck, KeyValueCache $keyValueCache) {
  $this->database = $database;
  $this->term = $term;
  $this->accessCheck = $accessCheck;
  $this->keyValueCache = $keyValueCache;
  $this->grantsCache = [];
}