src/Output/HtmlOutput.php
public function write($messages, $newline = false, $type = self::OUTPUT_NORMAL)
	{
		if (!is_array($messages))
		{
			$messages = array($messages);
		}

		foreach ($messages as $message)
		{
			$this->buffer .= $this->parse($message);
			if ($newline)
			{
				$this->buffer .= "\n";
			}
		}
	}
public function write($messages, $newline = false, $type = self::OUTPUT_NORMAL)
	{
		if (!is_array($messages))
		{
			$messages = array($messages);
		}

		foreach ($messages as $message)
		{
			$this->buffer .= $this->parse($message);
			if ($newline)
			{
				$this->buffer .= "\n";
			}
		}
	}
Writes a message to the output.

@param string|array $messages The message as an array of lines or a single string
@param bool         $newline  Whether to add a newline
@param int          $type     The type of output (one of the OUTPUT constants)

@throws \InvalidArgumentException When unknown output type is given

@api