public function PhpConfigDataCollector::getSapiName in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/PhpConfigDataCollector.php \Drupal\webprofiler\DataCollector\PhpConfigDataCollector::getSapiName()
- 8 webprofiler/src/DataCollector/PhpConfigDataCollector.php \Drupal\webprofiler\DataCollector\PhpConfigDataCollector::getSapiName()
- 8.2 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 131
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'];
}