8000 [Console] added writeln to the OutputInterface · alexfilatov/symfony@0ef6711 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0ef6711

Browse files
cranberyxlfabpot
authored andcommitted
[Console] added writeln to the OutputInterface
1 parent 8ec6878 commit 0ef6711

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Symfony/Component/Console/Output/OutputInterface.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ interface OutputInterface
2929
*/
3030
function write($messages, $newline = false, $type = 0);
3131

32+
/**
33+
* Writes a message to the output and adds a newline at the end.
34+
*
35+
* @param string|array $messages The message as an array of lines of a single string
36+
* @param integer $type The type of output
37+
*/
38+
function writeln($messages, $type = 0);
39+
3240
/**
3341
* Sets the verbosity of the output.
3442
*

0 commit comments

Comments
 (0)
0