$data['id']]); } else { SvRobot::destroy($data['id']); } return true; } catch (\Exception $e) { self::setError($e->getMessage()); return false; } } }