Symfony\Component\Process\Process::requireProcessIsStarted PHP Method

requireProcessIsStarted() private method

Ensures the process is running or terminated, throws a LogicException if the process has a not started.
private requireProcessIsStarted ( string $functionName )
$functionName string The function name that was called
    private function requireProcessIsStarted($functionName)
    {
        if (!$this->isStarted()) {
            throw new LogicException(sprintf('Process must be started before calling %s.', $functionName));
        }
    }