public function setInput(mixed
$input):
static { if ($this->
isRunning()) { throw new LogicException('Input cannot be set while the process is running.'
);
} $this->input = ProcessUtils::
validateInput(__METHOD__,
$input);
return $this;
} /**
* Performs a check between the timeout definition and the time the process started.
*
* In case you run a background process (with the start method), you should
* trigger this method regularly to ensure the process timeout
*
* @return void
*
* @throws ProcessTimedOutException In case the timeout was reached
*/