class TestInjection

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

A service that is autowired.

Hierarchy

  • class \Drupal\autowire_test\TestInjection implements \Drupal\autowire_test\TestInjectionInterface

Expanded class hierarchy of TestInjection

1 file declares its use of TestInjection
AutowireTest.php in core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php
1 string reference to 'TestInjection'
autowire_test.services.yml in core/modules/system/tests/modules/autowire_test/autowire_test.services.yml
core/modules/system/tests/modules/autowire_test/autowire_test.services.yml

File

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

Namespace

Drupal\autowire_test
View source
class TestInjection implements TestInjectionInterface {

}

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