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));
}
}