@@ -7,7 +7,7 @@ information can be manipulated by clearing or overwriting the displayed content.
7
7
In order to manipulate the content, you need to create a new output section. An output section is
8
8
a part in the terminal where information will be displayed from the console.
9
9
10
- A section can be manipulated individually, and multiple sections can appended to the output.
10
+ A section can be manipulated individually, and multiple sections can be appended to the output.
11
11
12
12
To create a new output section, you need to use the
13
13
:method: `Symfony\\ Component\\ Console\\ Output\\ ConsoleOutput::section ` method::
@@ -20,7 +20,7 @@ To create a new output section, you need to use the
20
20
}
21
21
}
22
22
23
- This will return an instance of of the :class: `Symfony\\ Component\\ Console\\ Output\\ ConsoleSectionOutput `
23
+ This will return an instance of the :class: `Symfony\\ Component\\ Console\\ Output\\ ConsoleSectionOutput `
24
24
25
25
.. tip ::
26
26
@@ -32,7 +32,6 @@ This will return an instance of of the :class:`Symfony\\Component\\Console\\Outp
32
32
33
33
Displaying information in a section will always append a new line to the output.
34
34
35
-
36
35
Overwriting Output
37
36
------------------
38
37
@@ -45,11 +44,11 @@ When displaying information in the console, you can overwrite the output by usin
45
44
The only information displayed in the terminal will be ``World! `` as the first part will
46
45
be overwritten.
47
46
48
- Clearing s Section
47
+ Clearing a Section
49
48
------------------
50
49
51
50
You can clear all the content in a section by using the
52
- :method: `Symfony\\ Component\\ Console\\ Output\\ ConsoleSectionOutput::overwrite ` method.
51
+ :method: `Symfony\\ Component\\ Console\\ Output\\ ConsoleSectionOutput::clear ` method.
53
52
54
53
Clearing a section will erase all the content that is displayed in that section::
55
54
0 commit comments