class TestInjection2

Same name in this branch
  1. 11.x core/modules/system/tests/modules/services_defaults_test/src/TestInjection2.php \Drupal\services_defaults_test\TestInjection2
Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/services_defaults_test/src/TestInjection2.php \Drupal\services_defaults_test\TestInjection2
  2. 9 core/modules/system/tests/modules/autowire_test/src/TestInjection2.php \Drupal\autowire_test\TestInjection2
  3. 10 core/modules/system/tests/modules/services_defaults_test/src/TestInjection2.php \Drupal\services_defaults_test\TestInjection2
  4. 10 core/modules/system/tests/modules/autowire_test/src/TestInjection2.php \Drupal\autowire_test\TestInjection2

A service that is autowired.

Hierarchy

Expanded class hierarchy of TestInjection2

1 file declares its use of TestInjection2
AutowireTest.php in core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php

File

core/modules/system/tests/modules/autowire_test/src/TestInjection2.php, line 8

Namespace

Drupal\autowire_test
View source
class TestInjection2 {

}

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