new_dependency_test.services.yml
Same filename in other branches
File
-
core/
modules/ system/ tests/ modules/ new_dependency_test/ new_dependency_test.services.yml
View source
- services:
- new_dependency_test.alias2:
- alias: new_dependency_test.alias_dependency
- new_dependency_test.alias_dependency2:
- class: Drupal\new_dependency_test\ServiceWithDependency
- arguments: ['@new_dependency_test.alias2']
- new_dependency_test.alias_dependency:
- class: Drupal\new_dependency_test\ServiceWithDependency
- arguments: ['@new_dependency_test.alias']
- new_dependency_test.recursion:
- class: Drupal\new_dependency_test\ServiceWithDependency
- arguments: ['@new_dependency_test.hard_dependency']
- new_dependency_test.alias:
- alias: new_dependency_test.dependent
- new_dependency_test.dependent:
- class: Drupal\new_dependency_test\InjectedService
- arguments: ['@new_dependency_test_with_service.service']
- new_dependency_test.hard_dependency:
- class: Drupal\new_dependency_test\ServiceWithDependency
- arguments: ['@new_dependency_test.dependent']
- new_dependency_test.optional_dependency:
- class: Drupal\new_dependency_test\ServiceWithDependency
- arguments: ['@?new_dependency_test.dependent']
- new_dependency_test.another_service:
- class: Drupal\new_dependency_test\Service
- new_dependency_test.another_service.decorated:
- class: Drupal\new_dependency_test\Service
- decorates: new_dependency_test.another_service
- arguments: ['@new_dependency_test.another_service.decorated.inner']
- new_dependency_test.another_service_two:
- class: Drupal\new_dependency_test\Service
- new_dependency_test.another_service_two.decorated:
- class: Drupal\new_dependency_test\Service
- decorates: new_dependency_test.another_service_two
- decoration_inner_name: new_dependency_test.foo
- arguments: ['@new_dependency_test.foo']
- new_dependency_test.setter_injection:
- class: Drupal\new_dependency_test\SetterInjection
- calls:
- - [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.