/** * Updates seeders field and returns the object * * @return $this */ public function updateSeeders() { $this->seeders = count(PeerTorrent::getSeeders($this)); $this->save(); return $this; }