From abc3a188005090c48ef8e2bb3392566cd70e73e1 Mon Sep 17 00:00:00 2001 From: "I. Fournier" Date: Thu, 19 Dec 2013 11:47:06 +0100 Subject: [PATCH] Update process.rst This method was initially named flush but was changed to clear --- components/process.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/process.rst b/components/process.rst index bb8ad25df54..7680dc7adfa 100644 --- a/components/process.rst +++ b/components/process.rst @@ -46,11 +46,11 @@ and :method:`Symfony\\Component\\Process\\Process::getIncrementalErrorOutput` methods returns the new outputs since the last call. .. versionadded:: 2.4 - The ``flushOutput()`` and ``flushErrorOutput()`` methods were added in Symfony 2.4. + The ``clearOutput()`` and ``clearErrorOutput()`` methods were added in Symfony 2.4. -The :method:`Symfony\\Component\\Process\\Process::flushOutput` method flushes +The :method:`Symfony\\Component\\Process\\Process::clearOutput` method clears the contents of the output and -:method:`Symfony\\Component\\Process\\Process::flushErrorOutput` flushes +:method:`Symfony\\Component\\Process\\Process::clearErrorOutput` clears the contents of the error output. Getting real-time Process Output