Skip to content

Commit e6d63ea

Browse files
committed
[Process] Document the getLastOutputTime() method.
fixes #12194
1 parent 9101bf2 commit e6d63ea

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
@@ -96,6 +96,12 @@ with a non-zero code)::
9696
echo $exception->getMessage();
9797
}
9898

99+
.. tip::
100+
101+
You can get the last output time in seconds by using the
102+
:method:`Symfony\\Component\\Process\\Process::getLastOutputTime` method.
103+
This method returns ``null`` if the process wasn't started!
104+
99105
Using Features From the OS Shell
100106
--------------------------------
101107

0 commit comments

Comments
 (0)