public static function revoke(Topic $topic) { $topic->setAttributes(['status' => Topic::STATUS_ACTIVE]); $topic->save(); }