We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 406fa1a + b8cd110 commit 61cb8fdCopy full SHA for 61cb8fd
README.md
@@ -265,6 +265,10 @@ $writer->boldGreen('It is bold green'); // Same as above
265
$writer->comment('This is grayish comment', true); // True indicates append EOL character.
266
$writer->bgPurpleBold('This is white on purple background');
267
268
+// Many colors with one single call: wrap text with tags `<method>` and `</end>`
269
+// For NL/EOL just use `<eol>` or `</eol>` or `<eol/>`
270
+$writer->colors('<red>This is red</end><eol><bgGreen>This has bg Green</end>');
271
+
272
// All writes are forwarded to STDOUT
273
// But if you specify error, then to STDERR
274
$writer->errorBold('This is error');
0 commit comments