TestClassWithSetter::$injectedService
Same name and namespace in other branches
- main core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php \Drupal\Tests\Core\DependencyInjection\TestClassWithSetter::injectedService
The injected service.
Type: injectedService
File
-
core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ AutowiredInstanceTraitTest.php, line 50
Class
- TestClassWithSetter
- Test class with a setter method for dependency injection.
Namespace
Drupal\Tests\Core\DependencyInjectionCode
public \stdClass $injectedService;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.