new_dependency_test.services.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/new_dependency_test/new_dependency_test.services.yml
  2. 10 core/modules/system/tests/modules/new_dependency_test/new_dependency_test.services.yml
  3. 11.x core/modules/system/tests/modules/new_dependency_test/new_dependency_test.services.yml
core/modules/system/tests/modules/new_dependency_test/new_dependency_test.services.yml

File

core/modules/system/tests/modules/new_dependency_test/new_dependency_test.services.yml

View source
  1. services:
  2. new_dependency_test.alias2:
  3. alias: new_dependency_test.alias_dependency
  4. new_dependency_test.alias_dependency2:
  5. class: Drupal\new_dependency_test\ServiceWithDependency
  6. arguments: ['@new_dependency_test.alias2']
  7. new_dependency_test.alias_dependency:
  8. class: Drupal\new_dependency_test\ServiceWithDependency
  9. arguments: ['@new_dependency_test.alias']
  10. new_dependency_test.recursion:
  11. class: Drupal\new_dependency_test\ServiceWithDependency
  12. arguments: ['@new_dependency_test.hard_dependency']
  13. new_dependency_test.alias:
  14. alias: new_dependency_test.dependent
  15. new_dependency_test.dependent:
  16. class: Drupal\new_dependency_test\InjectedService
  17. arguments: ['@new_dependency_test_with_service.service']
  18. new_dependency_test.hard_dependency:
  19. class: Drupal\new_dependency_test\ServiceWithDependency
  20. arguments: ['@new_dependency_test.dependent']
  21. new_dependency_test.optional_dependency:
  22. class: Drupal\new_dependency_test\ServiceWithDependency
  23. arguments: ['@?new_dependency_test.dependent']
  24. new_dependency_test.another_service:
  25. class: Drupal\new_dependency_test\Service
  26. new_dependency_test.another_service.decorated:
  27. class: Drupal\new_dependency_test\Service
  28. decorates: new_dependency_test.another_service
  29. arguments: ['@new_dependency_test.another_service.decorated.inner']
  30. new_dependency_test.another_service_two:
  31. class: Drupal\new_dependency_test\Service
  32. new_dependency_test.another_service_two.decorated:
  33. class: Drupal\new_dependency_test\Service
  34. decorates: new_dependency_test.another_service_two
  35. decoration_inner_name: new_dependency_test.foo
  36. arguments: ['@new_dependency_test.foo']
  37. new_dependency_test.setter_injection:
  38. class: Drupal\new_dependency_test\SetterInjection
  39. calls:
  40. - [setter, ['@new_dependency_test_with_service.service']]

Services

Title Deprecated Summary
new_dependency_test.alias Alias of new_dependency_test.dependent
new_dependency_test.alias2 Alias of new_dependency_test.alias_dependency
new_dependency_test.alias_dependency Drupal\new_dependency_test\ServiceWithDependency
new_dependency_test.alias_dependency2 Drupal\new_dependency_test\ServiceWithDependency
new_dependency_test.another_service Drupal\new_dependency_test\Service
new_dependency_test.another_service.decorated Drupal\new_dependency_test\Service
new_dependency_test.another_service_two Drupal\new_dependency_test\Service
new_dependency_test.another_service_two.decorated Drupal\new_dependency_test\Service
new_dependency_test.dependent Drupal\new_dependency_test\InjectedService
new_dependency_test.hard_dependency Drupal\new_dependency_test\ServiceWithDependency
new_dependency_test.optional_dependency Drupal\new_dependency_test\ServiceWithDependency
new_dependency_test.recursion Drupal\new_dependency_test\ServiceWithDependency
new_dependency_test.setter_injection Drupal\new_dependency_test\SetterInjection

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