You are here

public function DatabaseDataCollector::getDatabase in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/src/DataCollector/DatabaseDataCollector.php \Drupal\webprofiler\DataCollector\DatabaseDataCollector::getDatabase()
  2. 8.2 webprofiler/src/DataCollector/DatabaseDataCollector.php \Drupal\webprofiler\DataCollector\DatabaseDataCollector::getDatabase()
  3. 4.x webprofiler/src/DataCollector/DatabaseDataCollector.php \Drupal\webprofiler\DataCollector\DatabaseDataCollector::getDatabase()

Return value

array

File

webprofiler/src/DataCollector/DatabaseDataCollector.php, line 103

Class

DatabaseDataCollector
Class DatabaseDataCollector.

Namespace

Drupal\webprofiler\DataCollector

Code

public function getDatabase() {
  return $this->data['database'];
}