public function Response::getContentLanguage

Get the Content-Language HTTP header

Return value

string|null Returns the language the content is in.

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php, line 462

Class

Response
Guzzle HTTP response object

Namespace

Guzzle\Http\Message

Code

public function getContentLanguage() {
  return $this
    ->getHeader('Content-Language', true);
}