private function Process::requireProcessIsTerminated in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/Process.php \Symfony\Component\Process\Process::requireProcessIsTerminated()
Ensures the process is terminated, throws a LogicException if the process has a status different than `terminated`.
Parameters
string $functionName The function name that was called.:
Throws
LogicException If the process is not yet terminated.
4 calls to Process::requireProcessIsTerminated()
- Process::getStopSignal in vendor/
symfony/ process/ Process.php - Returns the number of the signal that caused the child process to stop its execution.
- Process::getTermSignal in vendor/
symfony/ process/ Process.php - Returns the number of the signal that caused the child process to terminate its execution.
- Process::hasBeenSignaled in vendor/
symfony/ process/ Process.php - Returns true if the child process has been terminated by an uncaught signal.
- Process::hasBeenStopped in vendor/
symfony/ process/ Process.php - Returns true if the child process has been stopped by a signal.
File
- vendor/
symfony/ process/ Process.php, line 1498
Class
- Process
- Process is a thin wrapper around proc_* functions to easily start independent PHP processes.
Namespace
Symfony\Component\ProcessCode
private function requireProcessIsTerminated($functionName) {
if (!$this
->isTerminated()) {
throw new LogicException(sprintf('Process must be terminated before calling %s.', $functionName));
}
}