public function addLinesFromArray($lines)
	{
		foreach ($lines as $line)
		{
			$this->addLine($line['message'], ((isset($line['type'])) ? $line['type'] : null));
		}
	}
public function addLinesFromArray($lines)
	{
		foreach ($lines as $line)
		{
			$this->addLine($line['message'], ((isset($line['type'])) ? $line['type'] : null));
		}
	}
public function addLinesFromArray ( $ lines ) { foreach ( $ lines as $ line ) { $ this -> addLine ( $ line [ 'message' ] , ( ( isset ( $ line [ 'type' ] ) ) ? $ line [ 'type' ] : null ) ) ; } }
Helper method to add an array of lines to the output buffer.

Here we're expecting an array, with each entry also containing an
array with at least one key of 'message'. Another key
can also be provided with a message type, which translates to
one of the predefined styles used in formatLine().

@param   array  $lines  Array of lines to add
@return  void
Helper method to add an array of lines to the output buffer .