You are here

public function Response::getContentType in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/jcalderonzumba/gastonjs/src/NetworkTraffic/Response.php \Zumba\GastonJS\NetworkTraffic\Response::getContentType()

Returns the content type of the response

Return value

string

File

vendor/jcalderonzumba/gastonjs/src/NetworkTraffic/Response.php, line 77

Class

Response
Class Response @package Zumba\GastonJS\NetworkTraffic

Namespace

Zumba\GastonJS\NetworkTraffic

Code

public function getContentType() {
  if (isset($this->data['contentType'])) {
    return $this->data['contentType'];
  }
  return null;
}