isImmediate; } public function setTimerId($timerId) { $this->timerId = $timerId; } public function stop() { if ($this->timerId && Timer::exists($this->timerId)) { Timer::clear($this->timerId); } } /** * 运行 */ public function run() { Log::info(__METHOD__, ['start', '', microtime(true)]); $this->stop(); } }