/** * Log the given user ID into the application. * * @param mixed $id * @param bool $remember * @return \App\User * @static */ public static function loginUsingId($id, $remember = false) { return \Illuminate\Auth\SessionGuard::loginUsingId($id, $remember); }