private setRunning ( boolean $bool ) | ||
$bool | boolean | Sets the running status of the pipeline. |
private function setRunning($bool)
{
if ($bool && $this->running) {
throw new ClientException('The current pipeline context is already being executed.');
}
$this->running = $bool;
}