Merge pull request #194 from edwardbrosens/master

add getter for protected headers property
pull/196/head
Mike Cao 10 years ago
commit d719d56e07

@ -145,6 +145,14 @@ class Response {
return $this; return $this;
} }
/**
* Returns the headers from the response
* @return array
*/
public function headers() {
return $this->headers;
}
/** /**
* Writes content to the response body. * Writes content to the response body.
* *

Loading…
Cancel
Save