private function Process::requireProcessIsStarted in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/Process.php \Symfony\Component\Process\Process::requireProcessIsStarted()
Ensures the process is running or terminated, throws a LogicException if the process has a not started.
Parameters
string $functionName The function name that was called.:
Throws
LogicException If the process has not run.
5 calls to Process::requireProcessIsStarted()
- Process::getErrorOutput in vendor/
symfony/ process/ Process.php - Returns the current error output of the process (STDERR).
- Process::getIncrementalErrorOutput in vendor/
symfony/ process/ Process.php - Returns the errorOutput incrementally.
- Process::getIncrementalOutput in vendor/
symfony/ process/ Process.php - Returns the output incrementally.
- Process::getOutput in vendor/
symfony/ process/ Process.php - Returns the current output of the process (STDOUT).
- Process::wait in vendor/
symfony/ process/ Process.php - Waits for the process to terminate.
File
- vendor/
symfony/ process/ Process.php, line 1484
Class
- Process
- Process is a thin wrapper around proc_* functions to easily start independent PHP processes.
Namespace
Symfony\Component\ProcessCode
private function requireProcessIsStarted($functionName) {
if (!$this
->isStarted()) {
throw new LogicException(sprintf('Process must be started before calling %s.', $functionName));
}
}