You are here

new_dependency_test.services.yml in Drupal 8

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']]