try_times += $num; } public function checkTryTimes(): bool { if($this->try_times >= $this->try_limt) { return false; } return true; } public function getTryTimes(): int { return $this->try_times; } function getDelaySeconds($seconds = 30): int { return $seconds * $this->try_times; } }