From 0ef67112b252c0fa6a307c79a1c40f9d72bdc996 Mon Sep 17 00:00:00 2001 From: Andy Stanberry Date: Mon, 24 Jan 2011 16:33:24 -0500 Subject: [PATCH] [Console] added writeln to the OutputInterface --- src/Symfony/Component/Console/Output/OutputInterface.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Symfony/Component/Console/Output/OutputInterface.php b/src/Symfony/Component/Console/Output/OutputInterface.php index 03707f2e8c..85837da47e 100644 --- a/src/Symfony/Component/Console/Output/OutputInterface.php +++ b/src/Symfony/Component/Console/Output/OutputInterface.php @@ -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. *