You are here

public function AccessStorage::__construct in Permissions by Term 8

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

AccessStorageService constructor.

Parameters

Connection $database:

TermHandler $term:

AccessCheck $accessCheck:

File

src/Service/AccessStorage.php, line 70

Class

AccessStorage
Class AccessStorage.

Namespace

Drupal\permissions_by_term\Service

Code

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