lithium\analysis\logger\adapter\FirePhp::_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.

Parameters

  • array $message

    A message containing the key and the content to store.

Returns

array|void

The queued message when no Response object was bound.

Source

	protected function _write($message) {
		if (!$this->_response) {
			return $this->_queue[] = $message;
		}
		$this->_response->headers[$message['key']] = $message['content'];
	}