app/Providers/AppServiceProvider.php
/**
     * Bootstrap any application services.
     *
     * @return void
     */
Bootstrap any application services.
@return void
Bootstrap any application services . @return void
public function boot()
    {
         implementation login response here
        $this->app->singleton(LoginResponseContract::class, LoginResponse::class);
        $this->app->singleton(RegisterResponseContract::class, RegisterResponse::class);
    }
public function boot ( ) { $ this -> app -> singleton ( LoginResponseContract :: class , LoginResponse :: class ) ; $ this -> app -> singleton ( RegisterResponseContract :: class , RegisterResponse :: class ) ; }
Bootstrap any application services.
Bootstrap any application services .
// // implementation login response here