35 'The process "%s" exceeded the timeout of %s seconds.',
37 $this->getExceededTimeout()
58 switch ($this->timeoutType) {
60 return $this->process->getTimeout();
63 return $this->process->getIdleTimeout();
66 throw new \LogicException(
sprintf(
'Unknown timeout type "%d".', $this->timeoutType));
sprintf('%.4f', $callTime)
An exception for terminatinating execution or to throw for unit testing.
Exception that is thrown when a process times out.
__construct(Process $process, $timeoutType)
RuntimeException for the Process Component.
Process is a thin wrapper around proc_* functions to easily start independent PHP processes.