function TestService::getDatabase

Same name in other branches
  1. 11.x core/modules/system/tests/modules/autowire_test/src/TestService.php \Drupal\autowire_test\TestService::getDatabase()

File

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

Class

TestService

Namespace

Drupal\autowire_test

Code

public function getDatabase() : Connection {
    return $this->database;
}

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