PermissionCheckerTest::$account

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php \Drupal\Tests\Core\Session\PermissionCheckerTest::account
  2. 10 core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php \Drupal\Tests\Core\Session\PermissionCheckerTest::account

The mocked account to use for testing.

Type: \Drupal\Core\Session\AccountInterface

File

core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php, line 43

Class

PermissionCheckerTest
Tests Drupal\Core\Session\PermissionChecker.

Namespace

Drupal\Tests\Core\Session

Code

protected $account;

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