|
@@ -33,18 +33,6 @@ class FirePHPHandler extends BaseFirePHPHandler
|
|
|
*/
|
|
|
private $response;
|
|
|
|
|
|
- /**
|
|
|
- * {@inheritDoc}
|
|
|
- */
|
|
|
- protected function sendHeader($header, $content)
|
|
|
- {
|
|
|
- if ($this->response) {
|
|
|
- $this->response->headers->set($header, $content);
|
|
|
- } else {
|
|
|
- $this->headers[$header] = $content;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* Adds the headers to the response once it's created
|
|
|
*/
|
|
@@ -60,4 +48,16 @@ class FirePHPHandler extends BaseFirePHPHandler
|
|
|
}
|
|
|
$this->headers = array();
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * {@inheritDoc}
|
|
|
+ */
|
|
|
+ protected function sendHeader($header, $content)
|
|
|
+ {
|
|
|
+ if ($this->response) {
|
|
|
+ $this->response->headers->set($header, $content);
|
|
|
+ } else {
|
|
|
+ $this->headers[$header] = $content;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|