[Console] added writeln to the OutputInterface

This commit is contained in:
Andy Stanberry 2011-01-24 16:33:24 -05:00 committed by Fabien Potencier
parent 8ec6878a2a
commit 0ef67112b2

View File

@ -29,6 +29,14 @@ interface OutputInterface
*/
function write($messages, $newline = false, $type = 0);
/**
* Writes a message to the output and adds a newline at the end.
*
* @param string|array $messages The message as an array of lines of a single string
* @param integer $type The type of output
*/
function writeln($messages, $type = 0);
/**
* Sets the verbosity of the output.
*