-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Process: callbacks now allowed when output disabled #6648
Conversation
``setIdleTimeout``. | ||
|
||
However, it is possible to pass a callback to the ``start``, ``run`` or ``mustRun`` | ||
methods to handle process output in a streaming fashion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a little versionadded
block below this?
.. versionadded:: 3.1
The ability to pass a callback to these methods when output is disabled was added in Symfony 3.1.
Thanks!
This looks great, other than we just need one small addition that I commented on. Status: Needs Work |
This is a recent change in 3.1 added by @romainneutron Callbacks are allowed even if output is disabled
Updated PR |
👍 A little note: The versionadded directive should be indented with 4 spaces, so it'll be part of the Status: Reviewed |
👍 |
…indra) This PR was merged into the 3.1 branch. Discussion ---------- Process: callbacks now allowed when output disabled This is a recent change in 3.1 added by @romainneutron Callbacks are allowed even if output is disabled Related issue: symfony/symfony#17427 Commits ------- 687b915 Process: callbacks now allowed when output disabled
Thank you @avindra! |
This is a recent change in 3.1 added by @romainneutron
Callbacks are allowed even if output is disabled
Related issue: symfony/symfony#17427