public function Request::getHeaders in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-diactoros/src/Request.php \Zend\Diactoros\Request::getHeaders()
- 8 vendor/jcalderonzumba/gastonjs/src/NetworkTraffic/Request.php \Zumba\GastonJS\NetworkTraffic\Request::getHeaders()
Same name and namespace in other branches
- 8.0 vendor/jcalderonzumba/gastonjs/src/NetworkTraffic/Request.php \Zumba\GastonJS\NetworkTraffic\Request::getHeaders()
Gets the request headers
Return value
array
File
- vendor/
jcalderonzumba/ gastonjs/ src/ NetworkTraffic/ Request.php, line 76
Class
- Request
- Class Request @package Zumba\GastonJS\NetworkTraffic
Namespace
Zumba\GastonJS\NetworkTrafficCode
public function getHeaders() {
//TODO: Check if the data is actually an array, else make it array and see implications
return $this->data['headers'];
}