PrivateKeyTest::$privateKey

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/PrivateKeyTest.php \Drupal\Tests\Core\PrivateKeyTest::privateKey
  2. 10 core/tests/Drupal/Tests/Core/PrivateKeyTest.php \Drupal\Tests\Core\PrivateKeyTest::privateKey
  3. 11.x core/tests/Drupal/Tests/Core/PrivateKeyTest.php \Drupal\Tests\Core\PrivateKeyTest::privateKey

The private key service mock.

Type: \Drupal\Core\PrivateKey

File

core/tests/Drupal/Tests/Core/PrivateKeyTest.php, line 28

Class

PrivateKeyTest
Tests the PrivateKey class.

Namespace

Drupal\Tests\Core

Code

protected $privateKey;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.