src/UserAuthServiceProvider.php
/**
     * Register any package services.
     *
     * @return void
    */
Register any package services.
@return void
Register any package services . @return void
public function register()
    {
        $this->app->singleton(UserAuthController::class, function($app){
            return new UserAuthController();
        });
    }
public function register ( ) { $ this -> app -> singleton ( UserAuthController :: class , function ( $ app ) { return new UserAuthController ( ) ; } ) ; }
Register any package services.
Register any package services .