You are here

class TestInjection in Drupal 10

Same name in this branch
  1. 10 core/modules/system/tests/modules/services_defaults_test/src/TestInjection.php \Drupal\services_defaults_test\TestInjection
  2. 10 core/modules/system/tests/modules/autowire_test/src/TestInjection.php \Drupal\autowire_test\TestInjection
Same name and namespace in other branches
  1. 9 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 {

}

Members