Skip to content

Commit 6a13396

Browse files
committed
Merge pull request #2728 from imobilis/ticket_7884
[WCM] [Process] Doc for output flush methods.
2 parents 2be6510 + 8b0611a commit 6a13396

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/process.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ output. Alternatively, the :method:`Symfony\\Component\\Process\\Process::getInc
4545
and :method:`Symfony\\Component\\Process\\Process::getIncrementalErrorOutput`
4646
methods returns the new outputs since the last call.
4747

48+
.. versionadded:: 2.4
49+
The ``flushOutput()`` and ``flushErrorOutput()`` methods were added in Symfony 2.4.
50+
51+
The :method:`Symfony\\Component\\Process\\Process::flushOutput()` method flushes the contents of the output and
52+
and :method:`Symfony\\Component\\Process\\Process::flushErrorOutput()` the content of the error output.
53+
4854
Getting real-time Process Output
4955
--------------------------------
5056

0 commit comments

Comments
 (0)