Skip to content

Commit abc3a18

Browse files
committed
Update process.rst
This method was initially named flush but was changed to clear
1 parent 876994a commit abc3a18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/process.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ and :method:`Symfony\\Component\\Process\\Process::getIncrementalErrorOutput`
4646
methods returns the new outputs since the last call.
4747

4848
.. versionadded:: 2.4
49-
The ``flushOutput()`` and ``flushErrorOutput()`` methods were added in Symfony 2.4.
49+
The ``clearOutput()`` and ``clearErrorOutput()`` methods were added in Symfony 2.4.
5050

51-
The :method:`Symfony\\Component\\Process\\Process::flushOutput` method flushes
51+
The :method:`Symfony\\Component\\Process\\Process::clearOutput` method clears
5252
the contents of the output and
53-
:method:`Symfony\\Component\\Process\\Process::flushErrorOutput` flushes
53+
:method:`Symfony\\Component\\Process\\Process::clearErrorOutput` clears
5454
the contents of the error output.
5555

5656
Getting real-time Process Output

0 commit comments

Comments
 (0)