MenuActiveTrailTest::$lock

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php \Drupal\Tests\Core\Menu\MenuActiveTrailTest::lock
  2. 10 core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php \Drupal\Tests\Core\Menu\MenuActiveTrailTest::lock
  3. 11.x core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php \Drupal\Tests\Core\Menu\MenuActiveTrailTest::lock

The mocked lock.

Type: \Drupal\Core\Lock\LockBackendInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php, line 64

Class

MenuActiveTrailTest
Tests the active menu trail service.

Namespace

Drupal\Tests\Core\Menu

Code

protected $lock;

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