user_id = $user_id; } /** * Get the user ID that was locked out. * * @return int */ public function get_user_id() { return $this->user_id; } public function to_legacy() { $legacy = parent::to_legacy(); $legacy['user'] = $this->get_user_id(); $legacy['user_lock'] = true; return $legacy; } }