You are here

public function DefaultIncidentStorage::__construct in Radioactivity 8.3

Same name and namespace in other branches
  1. 4.0.x src/DefaultIncidentStorage.php \Drupal\radioactivity\DefaultIncidentStorage::__construct()

DefaultIncidentStorage constructor.

Parameters

\Drupal\Core\State\StateInterface $state: The state key-value storage.

File

src/DefaultIncidentStorage.php, line 25

Class

DefaultIncidentStorage
Defines a default incident storage.

Namespace

Drupal\radioactivity

Code

public function __construct(StateInterface $state) {
  $this->state = $state;
}