SetterInjection::$service
Same name in other branches
- 9 core/modules/system/tests/modules/new_dependency_test/src/SetterInjection.php \Drupal\new_dependency_test\SetterInjection::service
- 8.9.x core/modules/system/tests/modules/new_dependency_test/src/SetterInjection.php \Drupal\new_dependency_test\SetterInjection::service
- 10 core/modules/system/tests/modules/new_dependency_test/src/SetterInjection.php \Drupal\new_dependency_test\SetterInjection::service
The injected service.
Type: \Drupal\new_dependency_test_with_service\NewService
File
-
core/
modules/ system/ tests/ modules/ new_dependency_test/ src/ SetterInjection.php, line 19
Class
- SetterInjection
- Generic service which uses setter injection.
Namespace
Drupal\new_dependency_testCode
protected $service;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.