public function PhpConfigDataCollector::getSapiName in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/PhpConfigDataCollector.php \Drupal\webprofiler\DataCollector\PhpConfigDataCollector::getSapiName()
- 8.2 webprofiler/src/DataCollector/PhpConfigDataCollector.php \Drupal\webprofiler\DataCollector\PhpConfigDataCollector::getSapiName()
- 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\DataCollectorCode
public function getSapiName() {
return $this->data['sapi_name'];
}