function TestService::__construct
Same name in this branch
- 11.x core/modules/system/tests/modules/services_defaults_test/src/TestService.php \Drupal\services_defaults_test\TestService::__construct()
Same name in other branches
- 9 core/modules/system/tests/modules/services_defaults_test/src/TestService.php \Drupal\services_defaults_test\TestService::__construct()
- 9 core/modules/system/tests/modules/autowire_test/src/TestService.php \Drupal\autowire_test\TestService::__construct()
- 10 core/modules/system/tests/modules/services_defaults_test/src/TestService.php \Drupal\services_defaults_test\TestService::__construct()
- 10 core/modules/system/tests/modules/autowire_test/src/TestService.php \Drupal\autowire_test\TestService::__construct()
File
-
core/
modules/ system/ tests/ modules/ autowire_test/ src/ TestService.php, line 32
Class
Namespace
Drupal\autowire_testCode
public function __construct(TestInjectionInterface $test_injection, TestInjection2 $test_injection2, Connection $database, DrupalKernelInterface $kernel, TestInjectionInterface $testInjection3) {
$this->testInjection = $test_injection;
$this->testInjection2 = $test_injection2;
$this->database = $database;
$this->kernel = $kernel;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.