public function checkNow() { $service = FeedService::get($this); try { $post = $service->getMostRecentPost(); $last_id = $service->getId($post); $this->last_checked_id = $last_id; $this->last_checked_at = date('Y-m-d H:i:s'); $this->save(); } catch (\Exception $e) { dd($e); } }