Process::setIdleTimeout()

Process setIdleTimeout(int|float|null $timeout)

Sets the process idle timeout (max. time since last output).

To disable the timeout, set this value to null.

Parameters

int|float|null $timeout The timeout in seconds

Return Value

Process The current Process instance

Exceptions

LogicException if the output is disabled
InvalidArgumentException if the timeout is negative
doc_Symfony
2016-10-28 06:27:00
Comments
Leave a Comment

Please login to continue.