10000
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.
1 parent 8d8e403 commit aa5e1ccCopy full SHA for aa5e1cc
components/console/helpers/formatterhelper.rst
@@ -78,7 +78,9 @@ you can write::
78
$truncatedMessage = $formatter->truncate($message, 7);
79
$output->writeln($truncatedMessage);
80
81
-And the output will be::
+And the output will be:
82
+
83
+.. code-block:: text
84
85
This is...
86
@@ -93,7 +95,9 @@ from the end of the string::
93
95
94
96
$truncatedMessage = $formatter->truncate($message, -5);
97
-This will result in::
98
+This will result in:
99
100
101
102
This is a very long message, which should be trun...
103
0 commit comments