You are here

public function PhpConfigDataCollector::getSapiName in Devel 8

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

Gets the PHP SAPI name.

Return value

string The environment

File

webprofiler/src/DataCollector/PhpConfigDataCollector.php, line 132

Class

PhpConfigDataCollector
Provides a data collector to collect all kind of php information.

Namespace

Drupal\webprofiler\DataCollector

Code

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