The event function dispatches the given event to its listeners:
<?php event(new UserRegistered($user));
<?php         $user->save();



        event(new PasswordReset($user));



        $this->guard()->login($user);

    }
<?php     protected function fireLockoutEvent(Request $request)

    {

        event(new Lockout($request));

    }
<?php     public static function dispatch()

    {

        return event(new static(...func_get_args()), [], true);

    }

}
<?php     public static function dispatch()

    {

        return event(new static(...func_get_args()), [], true);

    }

}
<?php     public static function dispatch()

    {

        return event(new static(...func_get_args()), [], true);

    }

}