/** * Set the current user. * * @param \Illuminate\Contracts\Auth\Authenticatable $user * @return $this * @static */ public static function setUser($user) { return \Illuminate\Auth\SessionGuard::setUser($user); }