function TestService::getKernel

Same name and namespace in other branches
  1. 10 core/modules/system/tests/modules/autowire_test/src/TestService.php \Drupal\autowire_test\TestService::getKernel()

File

core/modules/system/tests/modules/autowire_test/src/TestService.php, line 62

Class

TestService
Service class for managing injected dependencies.

Namespace

Drupal\autowire_test

Code

public function getKernel() : DrupalKernelInterface {
  return $this->kernel;
}

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