public function stop() { if (!$this->flowController->isRunning) { return; } $this->stopTickQueue->tick(); $this->flowController->isRunning = false; }