TestClass::$state

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/service_provider_test/src/TestClass.php \Drupal\service_provider_test\TestClass::state
  2. 10 core/modules/system/tests/modules/service_provider_test/src/TestClass.php \Drupal\service_provider_test\TestClass::state
  3. 11.x core/modules/system/tests/modules/service_provider_test/src/TestClass.php \Drupal\service_provider_test\TestClass::state

The state keyvalue collection.

Type: \Drupal\Core\State\StateInterface

File

core/modules/system/tests/modules/service_provider_test/src/TestClass.php, line 23

Class

TestClass

Namespace

Drupal\service_provider_test

Code

protected $state;

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