lithium\analysis\logger\adapter\FirePhp::_write PHP Method

_write() protected method

Helper method that writes the message to the header of a bound Response object. If no Response object is bound when this method is called, it is stored in a message queue.
See also: lithium\analysis\logger\adapter\FirePhp::_format()
protected _write ( array $message ) : array | void
$message array A message containing the key and the content to store.
return array | void The queued message when no `Response` object was bound.
    protected function _write($message)
    {
        if (!$this->_response) {
            return $this->_queue[] = $message;
        }
        $this->_response->headers[$message['key']] = $message['content'];
    }