src/LaravelWebauthnServiceProvider.php
/**
     * Register any package services.
     *
     * @return void
     */
Register any package services.
@return void
Register any package services . @return void
public function register()
    {
        $this->mergeConfigFrom(
            __DIR__.'/../config/webauthn.php', 'webauthn'
        );
        $this->app->singleton(CredentialRepositoryInterface::class, Webauthn\CredentialRepository::class);
        $this->app->singleton(Webauthn::class, Webauthn::class);
    }
public function register ( ) { $ this -> mergeConfigFrom ( __DIR__ . '/../config/webauthn.php' , 'webauthn' ) ; $ this -> app -> singleton ( CredentialRepositoryInterface :: class , Webauthn \ CredentialRepository :: class ) ; $ this -> app -> singleton ( Webauthn :: class , Webauthn :: class ) ; }
Register any package services.
Register any package services .