Skip to content

Commit 92d0a95

Browse files
committed
feature #12213 [Process] Document the getLastOutputTime() method. (OskarStark)
This PR was merged into the 4.4 branch. Discussion ---------- [Process] Document the getLastOutputTime() method. fixes #12194 <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- e6d63ea [Process] Document the getLastOutputTime() method.
2 parents 65c46ba + e6d63ea commit 92d0a95

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)