Symfony\Component\Process\Process::requireProcessIsTerminated PHP Méthode

requireProcessIsTerminated() private méthode

Ensures the process is terminated, throws a LogicException if the process has a status different than terminated.
private requireProcessIsTerminated ( string $functionName )
$functionName string The function name that was called
    private function requireProcessIsTerminated($functionName)
    {
        if (!$this->isTerminated()) {
            throw new LogicException(sprintf('Process must be terminated before calling %s.', $functionName));
        }
    }