CsrfTokenGeneratorTest::$privateKey
The mock private key instance.
Type: \Drupal\Core\PrivateKey|\PHPUnit\Framework\MockObject\MockObject
File
-
core/
tests/ Drupal/ Tests/ Core/ Access/ CsrfTokenGeneratorTest.php, line 30
Class
- CsrfTokenGeneratorTest
- Tests the CsrfTokenGenerator class.
Namespace
Drupal\Tests\Core\AccessCode
protected $privateKey;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.