InjectedService::$service

The injected service.

Type: \Drupal\new_dependency_test_with_service\NewService

File

core/modules/system/tests/modules/new_dependency_test/src/InjectedService.php, line 17

Class

InjectedService
Generic service with a dependency on a service defined in a new module.

Namespace

Drupal\new_dependency_test

Code

protected $service;

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