LocaleTranslationTest::$lock

A mocked lock to use when instantiating LocaleTranslation objects.

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

File

core/modules/locale/tests/src/Unit/LocaleTranslationTest.php, line 31

Class

LocaleTranslationTest
@coversDefaultClass \Drupal\locale\LocaleTranslation[[api-linebreak]] @group locale

Namespace

Drupal\Tests\locale\Unit

Code

protected LockBackendInterface $lock;

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