LocaleTranslationTest::$storage

Same name and namespace in other branches
  1. 10 core/modules/locale/tests/src/Unit/LocaleTranslationTest.php \Drupal\Tests\locale\Unit\LocaleTranslationTest::storage
  2. 11.x core/modules/locale/tests/src/Unit/LocaleTranslationTest.php \Drupal\Tests\locale\Unit\LocaleTranslationTest::storage
  3. 9 core/modules/locale/tests/src/Unit/LocaleTranslationTest.php \Drupal\Tests\locale\Unit\LocaleTranslationTest::storage
  4. 8.9.x core/modules/locale/tests/src/Unit/LocaleTranslationTest.php \Drupal\Tests\locale\Unit\LocaleTranslationTest::storage

A mocked storage to use when instantiating LocaleTranslation objects.

Type: storage

File

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

Class

LocaleTranslationTest
Tests Drupal\locale\LocaleTranslation.

Namespace

Drupal\Tests\locale\Unit

Code

protected StringStorageInterface&MockObject $storage;

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