PrivateKey::__construct

PrivateKey::__construct(StateInterface $state)

Constructs the token generator.

Parameters

\Drupal\Core\State\StateInterface $state: The state service.

File

core/lib/Drupal/Core/PrivateKey.php, line 26

Class

PrivateKey
Manages the Drupal private key.

Namespace

Drupal\Core

Code

function __construct(StateInterface $state) {
  $this->state = $state;
}
doc_Drupal
2016-10-29 09:34:55
Comments
Leave a Comment

Please login to continue.